I've never heard of such, and I doubt very much that such exists. Here is the reason, hypnosis deals with the mind and as such is a legal quagmire for any medico. We may see such, hypnosis, in the movies, but in real life, for ordinary people, this just isn't within the terms of reality. It is difficult enough as it is, for a transgender person to deal with a psychiatrist ... and all they do is an assessment. Hypnosis implies far far more, intervention and that is exceedingly unlikely.
I read the question but I understand this to mean a different question ... "how can I be sure?" Hypnosis will not answer this question. It is natural to have doubt and question things, and this is particularly true the younger we are. For we have not attained the breadth of experience that life teaches.
I think the answer to the question of "how can I be sure" and "who am I", is found in the heart. What this means, is within. Not like a calculator where answers are immediate ... but more a discovery. It is, as is life, a journey.
This may sound like a nebulous answer, and it is, for the question is analogous to "how long is a piece of string" ... there is no one answer.
To look into our own heart, we can look to our nature ... we know whether we like chocolate, strawberry, vanilla ice-cream, what music we like ... in the same way we know who we are. This self revelation does not follow the clock but follows life, as we live it from day to day.
Hypnosis, or any intent to artificially create a reality will only do the opposite. The only way to learn about who we are, is with time. Time, patience and self acceptance.
Each person is wholly unique and though we may accept the term transgender, for each person, this means something unique. As such, having another person seek to make a judgement about us, or more such as intervene, will do nothing for us. No one other than God knows us ... no one.
This is a long answer and maybe not one sought, such as contact so and so ... but it is the right answer. It is the answer that will serve you best.
The answers you seek are within you. One can search the world only find one day, the truth of this.
We are what we are ... and self acceptance, self forgiveness, self caring, self love ... all these are from within and from within, we bring out to those around us.
I hope this makes sense.