May be a dumb question, but if nuclear reactors use water as a coolant (cc steam), what stops us from placing these by the ocean and using the heat to simultaneously perform thermal desalination?

Couldn’t one plant, slightly more engineered - produce an abundance of energy and crystal clear water?