BMW and a few others have made and designed hilariously large capacity motors that do burn hydrogen like gasoline. They use compressed hydrogen gas to run the fuel. Fun thing is, there is zero carbon buildup over time. The larger engines are necessary to help with using the higher heat hydrogen burns at.