How are the pedals not moving with the chain?
Not even this would be incredibly dangerous (pants caught on the chain? the motor won’t be stopping at all), but it would make it an illegal e-bike in much of the world since it doesn’t qualify as pedal assist, it’s now a flimsy motorcycle.