It's the same idea of green hydrogen. Only hydrogen allows you to use pipelines instead of physically hauling everything. You also don't have to worry about the battery physically gaining weight as you fly.
I remember 20 years back, hydrogen was going to be it. There were prototype cars manufactured, calls for hydrogen fueling stations to be built, everyone scrambling to get on the hydrogen train. Then it all just fizzled out. It was probably one of the promised techs I most wish had lived up to the hype.