Or maybe in Home Depot a brass tube can be found, like I found one where I live (in a store similar to Home Depot in USA): 1,4 mm ID, 2,0 mm OD. When pressed on 1,5 mm motor shaft, you get nice tight, absolutely centric fit. And all that for 1,1 USD for a tube 1 meter long.
Pressing such tube can be a problem if motor shaft is short, and you want to make it longer - brass could bent. But, if price is like above, it is worth to try.
i wondering about using something maleable to mount the motor. It seems to me that gear lash is likely to be larger than desired by just glueing a motor in place unless the glue/caulk shrinks.
if the gear were tight, the glue could flex and maintain a tight fit. Not sure how to accomplish this. maybe a rubber band around the worm
i tried adjusting a motor (not planning on replacing). When overtight, the motor stalled. couldn’t find the sweet spot, hence wondering if somethign sprung would be good
For a vertical mounted motor like that, if replacing the motor with a can motor, I’d think some sort of brass strap would be the way to mount it. L shaped bracket, which bolts to the loco chassis, and then a tradle of some sort glued or screwed to the motor and attached to the bracket, either soldered or screwed to it. a slight oblong hole in the base of the L would allow it to shift for gear lash adjustment, but the natural amount of play in a clearance hole may very well be enough of an adjustment.