Only if the motor were in the hub of the wheel, which given the typical size of the hubs, seems even less likely. Remember that bicycle drivetrains are typically one-way due to the ratchet, so you can't apply braking force via the chain.