If I knew before, yess for sure.
My restoration project had an engine with dropped liners so I had to find another engine. I also swapped my front fuel tank (KVA) for two custom made side pods.
After that I found a company that converts Citroën DS to electric with a choice of several motors. They even sell complete kits.
As I run a beefed up Citroën DS 5 speed transaxle it would have been a simple upgrade instead of finding an aother donor engine (scarce in Holland) and having side pod fuel tanks made for our chassis.