That is legitimately how a lot of criminal gangs operate. They wage wars with each other in the night and usually avoid messing with civilians. These groups tend to have a bit of a Messiah complex and try to portray themselves as heroes that will protect civilians from other groups, the government or whatever other threat. It’s very common with narco cartels as well.