It's not all that difficult to do especially if the engine with transmission is complete. The hard part is making it ALL fit on the cart.
The sorta short and simple of making it work varies slightly on the engine (for transmission) in question, but you really only need the top end off, swap the crank assembly for a solid straight shaft to be the "jackshaft" input, make a cover for where the cylinder bolted down to keep oil in the now transmission case. A couple lock collars (preferably steel so they can be welded in place solid once the jackshaft offset requirements have been determined.
This set up however will NOT work for engines that have a submerged ignition system (common on old Honda bikes 1967-1980 SL/CL/CB and likely many more) because you want to put your input sprocket where the flywheel used to be after carefully cutting away any obstructing case from the flywheel housing area.
Oh and yes, as. matter of fact I HAVE done it before with an engine... not from a seized engine but there isn't much difference between seized solid and having a valve hammered out behind the carburetor and a broken off conrod, it was als a 4 speed fully manual.
You could even put the original outer side cover back on the transmission once clearance accordingly.