Like charge a battery? A battery located anywhere on the grid?
Why add more complexity by electrolyzing water, storing the resultant hydrogen, building a vast distribution network to physically move that hydrogen, and keep vehicles dependent on a single form of chemical energy storage?
With an EV, my car can charge off the excess energy in the grid, or from the battery I have in my house, for from fossil fuel plants, or from nuclear, or whatever. I can trivially do this at home (rather than having to visit a refueling station). I can do this at work. Or at the grocery store.
Everyone I know who has an EV will never go back to fuel-powered cars.
I can see a use case for hydrogen in fleet vehicles, or in long-haul trucking scenarios. But for consumer automobiles, it has way too many downsides compared to the EVs that you just plug into a regular wall outlet.