My first ebike didn;t have an in-line plug
But I could still change the inner tube - even at the side of the road - by loosening the nuts and taking the tyre and tube off on the opposite side to the motor connection
Not really a problem - not weird inner tube required
I'm confused, how did you get the tube over the chainstay?
Edit: or do you mean you dropped the wheel out partially?