For the most part it doesn't make much sense for most e-bike users that have power easily available, the time required to charge a battery is a lot (average person puts out about 100-150W) and the average e-bike battery is 500Wh or so, 4+ hours to charge it by pedaling.
A normal mid-drive has clutches specifically to prevent this from happening so you don't get drag from the motor while pedaling without the motor running.
In countries where power is not as readily available it makes a lot more sense.