Yes, but what was the purpose to Krem other than to provide that? Did Krem really do anything pivotal? Otherwise, he's about as important as Scout Harding or the Stablemaster or any of the other characters like that, but he gets a lot of dialogue time and becomes a major minor character because he's a walking PSA.
Krem's character shows us another side to Tevinter, that despite all the negative encounters we've had with them in previous games, they aren't all moustache-twirling villains (although Dorian has the epic 'tache for it), nor is there society divided solely into powerful mages and powerless slaves.
Krem lets us see how the hum-drum regular folk in the Imperium manage in a society that values magic above all, mentioning how he joined the military to help pay the bills, while his father was forced to become an indentured servant after their family business went under.
The only part of Krem being trans that deals with him having been a victim of discrimination is that because of Tevinter's conservative outlook and the minor technicality that he lied on the application form about his gender, it would have been enough for them to have ended the career of a promising soldier in their prime. Someone who was apparently so good at his job in the two years he served, was even up for promotion when his trans status happened to be discovered.
Furthermore, Krem's character and the rest of the Chargers helps inform and tell us a lot about Bull as a company commander. Bull doesn't care about someone's race, gender identity, sexuality, religion or even past history... as long as you have his back in a fight you're good with him.
The story of how Bull and Krem met also tells us how despite appearances, Bull is not the rambunctious bruiser he often acts as if he is, but has a compassionate streak that was enough to step in front of a flail, losing his eye to prevent someone getting beaten, despite having never met them before.
The clear friendship between Bull and Krem, who's obviously his right-hand-man, shows also precisely what Bull stands to lose in his personal quest. Does he abandon his friends and comrades for the sake of the mission because it's what the Qun demands he do, or does he stand by them and forever alienate himself from his people?
We find out in WOT2 that Bull the incident that nearly broke him in Seheron was because violated the Qun (using a technicality as an excuse) to allow his squad to carry out a retaliatory strike solely for the purpose of getting revenge. That mission ended up leading to him losing most of his squad and several close friends as a result and he was left with deep emotional (and physical) scars as a result of it. Now he's being asked to do the same thing and go through it again, sacrificing his friends and comrades, this time for the Qun.
Krem has far more purpose in the game and relating to Bull's story than to serve as just a PSA on trans discrimination.