I assume you have a way to desalinate water? Solar?
Most yachts today do carry a 12 volt reverse osmosis watermaker. The tech is 30 years old and fully developed.
There is also rain. And in a custom-built steel boat, gi-normous fresh water ballast tanks.