I think it would be technically possible, but not with the Mahle X20 - I think that technology is proprietary and locked.
But it would be technically possible to start off with a road bike , add a very lightweight hub motor and add a bag battery and then set the motor assist cut off speed...