Underage sex and HRT are not really comparable.
That said I advocate for puberty blockers rather than HRT for adolescents myself. That allows them to safely postpone their decision if they are unsure and lets them decide when they are adults.
I'm not a doctor though, it's best to ask an endocrinologist (I think) to determine what's best for a child.