There are of course already some engineers removing fossil fuel engines and fitting electric powered motors. A recent German DW TV program has an article on one doing just that – not cheap though!
Here's the link with video:
https://www.dw.com/en/dirk-lehmanns-...rt/av-52192657
Electric of course has to be generated somehow, and it's not all coming from renewable sources (yet).