If a stranger breaks into your home and kills your kid, the natural response for a lot of people is to kill the person that did it. There are a lot of reasons why we _don't_ allow that in civilized countries. People have to be socialized to reject that natural behavior.
More to school children, they as adults will not be successful if they frequently act impulsively. Adulthood in society is finding a fulfilling career, maintaining healthy relationships, paying your bills on time, and setting fulfilling long term goals for yourself. None of those things are helped by impulsive behavior.
With respect to how both environments force humans to adapt to the institution, and thereby manifest a perverse socialization, yes. The differences are in magnitude, not direction.
I'm reminded of the flawed "alpha" theory of wolf behavior. Turns out the observed dominance struggles were directly related to being in captivity; this form of "socialization" doesn't emerge in the wild.