Possible to change middle mouse button command?

Yep, try X-mouse UU
https://forum.cadmunity.com/t/x-mouse-button-control-xmbc/1257/1