I would think so. Edit your X config file (/etc/X11/xorg.conf) to make your xserver believe you have more mouse buttons than you really have, then use xmodmap to map the middle button to a non-existing one (xmodmap -e "pointer = 1 9 3 4 5 6 7 8 2" if you say you have nine buttons, similarly for fewer buttons).
hth --Jonas
|