It's very simple to set up a simple bot, and those are usually, and correctly, banned. A lot of similar macros could be used to tie up system resources or be disruptive.
There is danger in what you are asking for, though. You might be using this program to help you move, and while what you are trying won't be optimal, we don't know your situation. Mapping something to your f5 button, for instance, is very unlikely to get you banned.