Yes, your thoughts are right on target, and there are so many ways this could be productive. Small nuclear plants along the coast could provide power and water. The power could be sold to offset the increased cost of the water.
One think tank proposal was to take decommissioned nuclear subs, essentially beach them and generate desalinized water from the reactor. That as opposed to dismantling them then storing the reactor parts.