Heh, I made a macro that auto bhops, it's not that useful though since if you want to stop bhopping partway through the macro there is no way to stop it from continuing the bhops.
I'm sure if you really wanted to you could find a program that presses buttons on your keyboard at key instances in time, but it would be a waste of time.