I don’t see how that’s the case, or at least you certainly wouldn’t have to write it that way.
I think of the Space Pirates from the Metroid Series (specifically the Prime games where you get some broader insight in their culture). They have laws, rules, and a general code of conduct, but morally speaking, they’ll do terrible things to each each other for the simplest justification of “you broke the rules” or “Looks like you didn’t meet your quota jim; guess your new job is Experimental Weapon Target”.
But they still have troublemakers and definitions of “undesireable behavior”.