Yes, it is possible. But, what would help is to assist her in identifying if it is really an issue of gender identification or sexual attraction to the same sex or simply curiosity. Individuals both who are gay and who struggle with gender issues generally know/feel this way from early on in their life (it does not happen over night)
You may want to explore with her what may have taken place two weeks ago when this issue became apparent to you i.e did she see something, spoke to someone about it, read about it, has a friend/peer who's actually struggling with this and she wants to identify with that peer, etc.
When you speak to her, you're trying to gather information not make the interpretation for her. If possible, try to be as objective as you can. You want to gain her trust not to rebuke her or to evoke shame and guilt within her which, would be the most harmful in this case. Encourage her to identify what this means to her. Is she afraid/anxious, confident/certain that she's found a part of herself that is new to her, etc. Is she able to identify if this is triggering a sexual response or a psychological one ex: male are stronger and more accepted than females in certain areas/jobs, etc.
Hormones would not necessarily evoke gender identity confusion. Increased level of testosterone in women would make them feel more assertive or appear aggressive as well as have a heightened libido. These are mostly connected to sexual arousal/intimacy issues. In home hormone test
If you believe that she is not 100% comfortable talking to you about it, then you may suggest that she talks to a professional who specializes in working both with gender identity as well as sexuality issues.
Gender Identity Disorder And Psychosexual Problems In Children And adolescents
Kenneth J. Zucker