Suspension on a front hub actually works better to a certain degree if the suspension was designed for it.
Reason being, instead of pedal power being transmitted through the rear and giving a fair amount of weight movement on the front suspension. The motor delivers linear power and thus the travel sits at the correct sag and absorbs bumps. . . . In theory.
Problem is front suspension push bikes arn't designed to take additional heavy front hub wheels and thus and re bound and dampening is hindered.
Suspension is always a compromise no matter what you do.
Will still be better on your comfort than without.