Looks like you loose all ground clearanceHere's a pic of the beam axle approach, pretty simple and straight forward really
https://visforvoltage.org/sites/default/files/u454/hub motor jpeg.JPG
In a simple beam axle such as shown in the photo linked above, the motor mounting shaft can't reasonably be in line with the beam. The beam can be below the motor shaft (as shown; this is called a drop-beam axle), or above the axle shaft (like a portal axle... not needed or suitable for a road car), or even ahead of or behind the axle shaft (but watch for torque due to the vehicle's weight trying to twist the beam on its spring mounts). The third-generation Honda Civic (for instance) had a rear beam axle with the beam behind and below the hub centres.Looks like you loose all ground clearance
On a traditional motorcycle front fork or two-sided rear swingarm.How do they mount the dual shaft versions?