What would the maintenance issues be? I know on ebikes you eventually have to replace the nylon gears, but the chain and cassette last longer because they have less force put on them.
More unsprung weight is always bad for suspension performance and handling.
Whenever you have to replace the rear tire, you're also going to have to disconnect the electric connections from the motor, which coupled with the extra vibration from being unsprung, introduces a greater risk of one of the connections coming loose during riding.
If you are in an accident or hit a pothole that damages the rear wheel, you're going to have to get an OEM replacement that will be expensive because the motor is integrated into it