https://us.battle.net/support/en/article/24258

Multiboxing, or playing multiple World of Warcraft accounts at once, is not a violation of our Terms of Use. Please note, however, that use of input broadcasting software may result in account penalties.