That’s a bad compromise. Those are also pretty extreme, permanent things that one wouldn’t wish on an innocent person, and unlike the death penalty, they don’t even prevent the murderer from murdering again, which is the real utility of the penalty in the first place.
Let's compromise then - castration and hysterectomies as part of sentencing for lesser crimes.
That’s a bad compromise. Those are also pretty extreme, permanent things that one wouldn’t wish on an innocent person, and unlike the death penalty, they don’t even prevent the murderer from murdering again, which is the real utility of the penalty in the first place.