Not inherently. Modding a single-player game you own, for your own use, is generally accepted practice and is often actively encouraged by developers.
The lines get drawn elsewhere. Redistributing a game's copyrighted assets, cracking copy protection, or using mods to gain an advantage in online matches can breach a publisher's terms of service and, in some jurisdictions, cross into illegal territory. Check the EULA for the specific title if you plan to share anything.