Can you make it work?
Possible.
Would I ? NO
very little space for motor in center cavity.
Do you have a motor in mind?
first time builder i would find a hardtail since duel suspension bikes will cause you headaches with chain slack when hitting a bump.
good luck.
research, research before buying motor or kit.