Do we repress aggression the same way we repress sexual urges? Do we repress aggression the same way we repress sexual urges?

"There is enough treachery, hatred, violence, absurdity in the average
human being to supply any given army on any given day"
--Bukowski
There is at least one somewhat influential theory according to which inhibition of sexual urges, aggressive urges, and many others (such as inhibition of racist behaviour for prosocial reasons) depend on a common pool of resources: the so-called ego depletion theory. Ego depletion means that inhibiting urges draws from a finite resource, and once it is spend, inhibition becomes harder and harder. Some experiments seem to show that inhibition in one domain (having to do a hard math test) makes it harder to consecutively inhibit in another domain (inhibit racist thoughts).

Even more general, according to general arousal theory, there is much overlap between sexual arousal and many possible reasons for aggression, such as fear; entailing that a general competence of arousal management supports both violence control and sexual control.

However, as is, the question is too broad to answer. Aggression is not repressed in only one way, and neither are sexual urges.

References

Baumeister, R. F. and Vohs, K. D. (2007), Self-Regulation, Ego Depletion, and Motivation. Social and Personality Psychology Compass, 1: 115–128. doi: 10.1111/j.1751-9004.2007.00001.x