This is literally the only sane usage for hydrogen outside of industrial uses, when you have a massive excess of renewables, use it to turn water into pressurised hydrogen.
And when the prices go up, you run that through a grid scale fuel cell and feed it back to the network.
Storing hydrogen is no small feat. Especially for long duration