Get a Mezzo bike. The rear dropout is large enough to put a big motor such as a BPM.
It doesn't fold as small, but it's not bad. It also folds in half very quickly.
With a big motor on the front, and potentially another battery, it will wear the bike quickly when you fold unfold it on the hinges.