Yes, they are working on electric planes
https://uk.reuters.com/article/uk-norway-electric-flight/norway-tests-tiny-electric-plane-sees-passenger-flights-by-2025-idUKKBN1JE27B
And boats
https://www.planetsolar.org/
And in factthe solar Impulse has flown around the world on only electric power
https://solarimpulse.com/
Electric cars are coming. I've been in a number and they are very fast, silent and rapid acceleration.
Sooner or later, the cost will come down enough that it makes sense for people to buy electric rather than internal combustion.
Space rockets are a different matter – the drive system is more difficult.
Rather than use fossil fuels, the aim is to use electricit generated from wind. wave and solar power to power the transport network.
Cleaner and greener than oil :)