Fuel cells may work for aviation in the future.
Batteries will not. The physics and the chemistry is not there. The periodic table only goes so far and math is math.
But the point is moot.
Gasoline and diesel and Jet A are cheap and plentiful with massive supplies still available and the technology to use it is developed and proven. No need to degrade that success for unproven or unusable alternatives.