Most definitely
There's a whole community that exists around reverse-engineering and re-using EV drivetrains like Volts and Teslas.
Didn't we recently have a thread about a Tesla-powered A4? If it'll fit in that it'll fit in a D2
I think I'll have some spare time in, oh, about 2025!