United Press International reports aviation firm ZeroAvia in the U.K. has flown a six passenger Piper airplane powered by a hydrogen fuel cell. Instapundit, who provided the link, takes a somewhat dismissive view of the feat. He argues we don't have the nearly unlimited electricity needed to split large quantities of non-polluting hydrogen from water using electrolysis.
I'd argue very large photovoltaic fields could provide the energy which can create storable hydrogen. Such fields can be established in places where the land has little value and the sun shines a lot - deserts and near-deserts like the interior of Australia, the Sahara, the Gobi, the Atacama, and the American Southwest.
A hydrogen fuel cell's waste product is, I believe, water - pure H₂O.