According to the users and players of wow, it's okay to do afking because it's way better an easier job in multiple cases such as right clicking a map icon and picking the options. But, AFKing is generally not recommended for heavy usage such as automating multiple clicks, jumps and headshots, etc., in WOW.