Earlier quoted context omitted.
EA and Rockstar banned people from Battlefield 5 multiplayer and GTA online for having modded their single player games. Google for a few minutes and you'll come across plenty of horror stories and news items. But of course the real reason they would love to prevent anyone from tampering with the game is so they can sell more single player cheats such as experience booster packs.
They do? I googled it and it's full of "I accidentally left my mods on and connected to GTAO and got banned", not " I was banned for playing modded single player games"
I don't personally play either game, but from what I've come across on the subject over the years, publishers seem to be a lot less difficult about it today compared to a few years ago. I recall reading about them denying a ban was due to mod use when they were wrong, being ridiculously vague about what modding was and what wasn't allowed, refusing to fully restore a player's character even after a ban was rescinded, etc.
https://www.pcgamer.com/gta-online-players-report-multiple-u...
https://www.reddit.com/r/pcgaming/comments/g139nu/eas_volunt...
Interesting edge case: https://www.pcgamer.com/gtav-modders-reportedly-banned-for-c...