No, you inject something into the game, you get banned. Doesn't matter if it's in a private match or dedi servers. Next time you wanna cheat, do it in LAN mode which has the anticheat disabled. Wait out your ban and don't try to evade it, it'll only increase the timer.