I recall similar in function devices already existed for military use - except they made water from air, which is even more available than seawater:
https://www.honeywell.com/us/en/press/2021/05/honeywell-led-...
https://edition.cnn.com/2014/04/24/tech/innovation/machine-m...