Obviously not. Renewable resources are used to produce certain types of hydrogen, and natural gas or oil is used to produce other types. The environmental footprint is not at all the same.
That's why we think hydrogen-powered vehicles should be heavy-duty vehicles, in other words, boats and planes.
When it comes to medium- and light-duty vehicles, and even heavy-duty vehicles that travel shorter distances, battery-powered electric vehicles have a smaller environmental footprint.