Once wind and solar is routinely overproducing what the grid and grid storage can consume, lots of things like this start to become economic. Also:
https://en.wikipedia.org/wiki/Power-to-gas to help manage seasonal fluctuations in demand (e.g. windless winter nights) since gas is cheap to store for long periods.
It's even possible to synthesize airline fuel this way - https://syntholene.com/