Multi-boxing is allowed if you're manually controlling both characters, but if you could tell he was using the same actions at the exact same time, then it doesn't sound like that's what you saw in this case.

Using third party software to automate play is against ToS, and that would include using it to automate a second character to mimic the actions of one that you're manually controlling.