While a fuel cell vehicle will weigh less than an BEV this does not even come close to closing the difference in end to end efficiency even with insitu H2 production.
The reason it H2 costs more is primarily due to energy consumption for production, distribution, storage and filling, although...