It would be far better to use the energy locally to disassociate sea water and turn it into hydrogen, then ship the hydrogen.
They're doing this with the sea change ferry in San Francisco. The hydrogen that it runs on will be created from electricity and seawater at the point if use, on a floating fuel barge. It gets even better, they're using fully green hydroelectric energy from Hetch Hetchy reservoir, so the whole chain is about as green as possible, and is really an example for the rest of the world to follow.
https://www.sfchronicle.com/climate/article/san-francisco-fi...