https://www.reuters.com/world/us/child-sex-abusers-could-face-surgical-castration-under-louisiana-bill-2024-06-04/
This is a very evil idea and very Nazi, and you have to look at it in the context of them also pushing a law to torture people to death with nitrogen. Also, is someone going to be willing to report one of their relatives, if someone is going to torture or kill them? You don't have to like these people, I certainly don't, but there are some things which are just plain dark and evil.
For recidivism, something which doesn't violate human rights or the Eighth Amendment might involve making sure that the prisons don't have decaying archaic infrastructure leading to things like lead entering the water. As we know, lead can lead to neurological damage (and it is said even crime).
Also, this is no substitute for access to abortion. And I'd be wary of justifying the "lesser evil". #HumanRights