I do understand what you are talking about, even though i dont think it really follows what we are talking about. Following your logic you can only go as far into the rabbit hole as the dev allow you too. Regardless of how you explain her/him being able to to do that, if they decide it look like foul play that person gets the punish, and everyone else moves on. Pretty much what you said about games dealing with it in different ways.
In other words i get what you are trying to say about how a keyboard, macros and other tech stuff work. Following that people with enough knowledge of computers will always make ways to work around the system.
My point is, how is that different from a 3 party ran bot (not the obv tech stuff). A gold-sellers bot is ran by a program that makes him basically go around in an area killing everything while there is no active operator(player).
A person using a scripted ran bot(toon), which can be ran w.o them physically touching the keyboard, you can drop a rock on the key for all we know, basically kills in an area everything while there is no active operator(player).
Now tell me how a logical person will punish one and not the other on bases that one is ran by a computer program, while the other is just ran by a rock.