Currently the water of most planets is highly toxic to both players and structures. You can possibly wade into the water a little bit but once you go too far you will start to take damage quickly. If you build a structure it is possible it will be destroyed MUCH more rapidly than on land.