As agnes said, lean is not possible but 'mount' is. I get a mouse button icon but no mouse button lean for me, I have to use the 'Z' key.
I never do but probably should, it's too much effort as you also need to unmount. If anything, I mount when sniping
you can walk backwards and it unmounts