Well, yes.
I'm a teacher & remember a particularly ebullient production of Grease by a colleague where Danny was played by a 15 year old girl just because there wasn't a lad who could sing or act as well as she could.
It looked decidedly unusual (she was a curvy lass, & the costume was thoroughly unflattering) but she was really, really good.
So that's a high school production where a leading male role went to a talented young woman because, in the limited pool of 14-16 year olds willing to put themselves forward, she was considerably better than the best of the boys.
Does that translate to theatre generally where you might blind cast an actor who doesn't have some/all of the attributes of the character?
I don't know.
But I can't see any reason not to cast trans actors in non trans roles. Or then, equally, non trans actors in trans roles. Or men as women - solid Shakespearean tradition there. Or women as men - feminist theatre tradition there too.
I do suspect there's a trans activist lens of 'only we can act as trans characters but ALSO how dare you say we can't also play all the non trans roles & we'd like dibs on everything actually so shut up bigots' though.