Alright, this trick obviously is not as good as a botting program, because it still requires you to manually queue. But on the up side, I do not see how you can get banned for it.
*Also, this trick works on my computer, but was tested on another machine where it did not work.
Here it is:
1. Queue up for the Battleground of your choice.
2. Enter Battle
3. Hit enter as if you were opening a say chat.
4. Lodge a plastic dart underneath one of your keys on your keyboard so it presses down another. (I use the - sign on the number pad, so i lodge the dart underneath the * key on the number pad area of my keyboard)
5. You should now be spamming a letter/symbol on your keyboard into say chat, if the cursor stays solid, then the trick should work and you will not go AFK.
*First post ever... Hope it helped.