For those of us wondering what a ZX40 was
I'd say that it would be a fun project. Maybe just skip the IMA and just rip out the stator completely. You would need to add an alternator though. Or leave the stator and just hook the IMA leads to a meanwell supply like is popular for people going full time gasser.