Following up on @jncraton's answer, I've recreated the set in LeoCAD. Since the size and shape of the 88011 motor is the same as the 9V motor, the main issue becomes fitting the battery box. This is difficult since the conductor cabin is less than 8 studs long, so the prime target becomes the front part of the first car:
Trying to fit the battery on the front car won't work, since it will touch the roof of the conductor's cabin, thus (a) preventing the train from rotating and (b) blocking the ports of the battery hub:
I therefore suggest elongating the front of the first car by one stud. Use two stacked 1x6 yellow plates to prolong the train car's baseplate (you'll also need to move the parts attached to the underside of the car, those which make up the pivoting mechanism):
I don't see a feasible way of routing the cable through the back of the motor; the only viable alternative is routing it from the front. Replace the highlighted 2x4 yellow plate with a 2x3, and replace the highlighted 1x4 black brick with a 1x4 arch. That should give you enough room to route the cabling (at the expense of the train's conductor not having a good place to sit):
Finalize by covering the battery box with black bricks - e.g. 1x2 bricks with grille, cheese slopes and tiles: