But that would apply just as easily to your own position when you blame it on "socialisation".
Males aren't to blame for their early socialisation or growing up in a patriarchal society and it's very difficult for any individual to change that society.
So if men are more violent for this reason of "socialisation", then not their fault right?
So you appear just as guilty of "excusing men of their agency", if anyone is doing that.
If you think that biology makes men more violent, then why punish? Firstly because you think it's only one factor and men should still have control of themselves and are responsible for their actions. Or alternatively, you could just look at it as "deterrence works" regardless of whether people are truly responsible.
And of course we do sometimes try giving sex offenders drugs. I haven't checked the success of such methods. But hormones have been tried. SSRI antidepressants have been tried because they undermine sexual fantasy.
We will also use castration on dogs which I think is supposed to limit some aggressive behaviour.