It's been thought of before.
Hydrogen doesn't have the same characteristics as natural gas. It embrittles most metals, leaks like buggery and is not very dense (ie, it needs to be heavily compressed).
What does this mean? It means that the existing infrastructure isn't suitable for hydrogen, it would need to be replaced. Problem not solved.