yes, that's allowed :D Aslong as your game has no transphobic intentions you are good
no transphobic intentions it's just to bring awareness to the struggles.
That transphobia is harmful and wrong.
And that everyone deserves happiness no matter who they are.