if i remember corretly, WoW don't have auto-pathfind (not counting griffons)
In every case, configuring your mouse to use in-game macros it's legit, configuring to auto-craft or similar it's threated like third party tools, and bannable.
Sure, they can't prove it until a gm tell you while you're crafting AFK, but tecnically it's botting