If used in single-player mode, mods won’t get your account banned, and you can play them without fear of losing your game. However, if you use mods in GTA: Online, you will likely be banned quickly, so make sure to have two installs of the game or remove the mods from your files when you want to jump online.