You can use the same electricity you’d use to charge an electric car to separate water,
With a huge power loss, even if you just look at the hydrogen production and not the transport, storage and maintenance of the specialised facilities necessary to distribute it.