Can i get banned for this?

I used a third party program in practice tool to move my mouse and click around the map just to keep the game going and not get kicked out for afking, because i wanted to test something, i did it for an hour while i was away from computer, can i get banned for this?
Report as:
Offensive Spam Harassment Incorrect Board