Can you get banned for modding?

Rockstar won't let you have mods when playing GTA Online, otherwise, you would get banned . Mods are only allowed for a single-player mode. …