Why not just buy a mid motor emtb to start? Put some road tires on, or buy a second wheelset and can use as a commuter and a trail runner - two birds, one stone. Rear hub motor bikes don't offer such flexibility.
Biktrix offers a hardtail with various wheel options (can request additional...