I am not sure, but I know that people castrate horses that are in their teens some times becasue they don't intend to breed anymore and want to keep the animal.
I don't understand why it would threaten their life. We castrate alpacas at 2 years of age and I know plenty of people who castrated their breeding males even older than that. It is done by a vet though.