If it works, yes, that's a good solution.  However, people who are truly transgender cannot be made to "feel comfortable" in their assigned gender.  Making such people go through puberty is extremely cruel as they are very distressed by the completely wrong changes their body undergoes.  It's much harder physically to transition post-puberty than pre-puberty.  The most humane thing to do is to delay puberty (which is not irreversible) until the person can make a mature informed decision.