I think the fundamental question that hasn't been answered yet is whether your 8 speed cassette will fit a motorized rear wheel free hub body.
I do not know the answer, but am curious.
Generally speaking, 8,9,10 are wider than 6,7, so it likely will not fit.
That bring said, what E-HP said is...