Back in the days between TBC and WoTLK - There were 3rd party exe programs that would attach to the WoW.exe process and allow all kinds of "hacks." I was never brave enough to try them on an official WoW server, but I did go out of my way to test it on private servers.
There was also a patch...