On second thought, there are AF extension tubes which transmit data from camera body to lens and back and allow AF lenses (with built-in AF motors) to focus when on the tube(s). Novoflex makes a bellows with similar wiring between camera body and lens.
Fine, wonderful, but these devices all want the lens to be mounted normally. Readily available AF macro lenses are optimized to for magnifications below around 1:1 and are made to be mounted normally. Using one on a long extension device gives up its optimizations.
Another snag is that the OP wants to work at 5:1. On the assumption that the lens will go to 1:1 on its own mount, it will need 4xfocal length mm of additional extension to get to 5:1.
The Novoflex AF bellows has a male mount at the camera end that has contacts like an AF lens, a female mount at the lens end that has contacts like a camera body. A cable carries signal from one end to the other. If I read the specs correctly it offers 180 mm extension.
If the OP has the money -- the Novoflex AF bellows lists for $1,285 -- and can find a good photographer's machinist -- SKGrimes is the likely one, more $$$ -- I suspect that a Novoflex AF bellows' front end can be modified to allow attaching a reversed lens to the bellows. Then attach the bellows' lens mount to the reversed lens. Dumb extension tubes between reversed lens and bellows may be needed to get the desired magnification with, e.g., EF-M28mm f/3.5 Macro IS STM, EF-M28mm f/3.5 Macro IS STM or the EF50mm f/2.5 Compact Macro.