There’s other ways to mitigate that cost. Israel for instance runs many desalination plants from if I recall correctly solar power. We could do the same with solar and wind.
Never the less, yes, because I believe cost can be managed and figured out over time, where as I don’t know what other mitigating factors would be the consequence of such a choice