Darren,
Excellent tips regarding the charge controllers, thank you!
Jami,
The cheapest option (apart from buying second-hand cells, which would be a viable option) I've found would be CALB cells. Example:
https://www.aliexpress.com/item/4000303299745.html
With these 12V/100Ah would be about €400 (€800 for 24V/100Ah, €1.6k for 200Ah).
In addition you'll need a BMS, which will set you back between €30-200 depending on type/features. If you aren't planning on sailing in freezing temperatures you don't need low temperature cutoff and a Daly would work fine, although it would be a good insurance to have it anyways (if you forget to unplug chargers when wintering).
So for 24V/200Ah €1800 would be in the ballpark.
If buying used cells (90% capacity) it could probably be closer to €1000 although I haven't looked into this extensively. Another cheaper option that some go for is to buy a used electric car battery pack. The problem with this is that they are mostly lithium-ion, which can be a fire hazard, so LiFePo4 is the way to go. LiFePo4 also has better discharge rate and is non-toxic.
Another option (probably better but slightly more expensive) would be to get 200Ah cells.
As for LiFePo4 in general I really don't see any practical reason* for anyone to use lead acid batteries for anything anymore, so I would've switched even without converting to electric motor. When you factor in usable amp-hours and overall life expectancy, LiFePo4 is actually less expensive and a far superior battery technology.
*) except short-term financial
PSA: You can find a lot of good information, reviews and tests in Will Prowse's Youtube channel.