I don't see why you couldn't....they do a very similar thing for bicycles.
https://bicycles.stackexchange.com/questions/25732/do-trailer-bikes-help-kids-learn-to-ride-a-bike-on-their-own
And you could leave the engine in place and link all the controls.....and have a 1,300cc Beast of Burden!
I believe it would have to be a 2 axis spindle....as the trailer would need to pivot left/right in curves, and also up/down on bumps and while the bike is leaned over.