If you have (access to) an old hardtail MTB, you can get a solid mid drive motor like bafang bbshd or tongsheng tsdz8 from Ali. For battery, vendors like electrifybike or em3ev are top notch.
The tsdz8 is torque sensing so it feels more like a bike when you pedal. Real robot leg feel.