Yes, it should fit OK, but it's normally the battery that's gone, so you'd have to buy a whole kit, in which case you could fit it to any bike.
A hub-motor Woosh with a defective battery sold for £56 a couple of weeks ago. If I had bought it, I'd have kept the motor, swapped out the controller...