No, the software itself is perfectly legal to own and use. Where you use it matters, though — running it against an online game can get your account banned, and it usually will not work on those titles anyway.
Single-player games and offline sessions are the safe ground. Anything that touches a shared server is where the trouble starts.