to be perfectly clear, this probably wouldn't help much, since we would likely just move to shipping something like hydrogen across the ocean anyway...
Hydrogen is just worse natural gas. They crack natural gas to produce hydrogen, and its fucking terrible. Hydrogen creates about 4 times more CO2 than diesel, simply by how the vast majority of it is manufactured
Yes, a potential future application, in a system where we basically always have more renewable electricity than we can use could see some great hydrogen-based storage in hydrogen.