I was planning to put the motor inside the rim as shown below. Obviously, the fit would be tighter radially as they are probably showing a 12 inch rim.
Will try to update at later date but just trying to make sure that the approach is sound before buying the motors, rims, and wheels.