I rather think B5's most valuable aspect in this regard in is the Earth Civil War arc, since it poses moral and ethical questions like "I was following orders" NOT being a justification for war crimes, and the concept that it's the duty of the military to serve the people, NOT the individuals currently in positions of power and authority.
BSG covers some similar territory, though more bent towards questions like "in time of war, at what point do military concerns override civilian concerns and visa-versa".
In a nutshell,
this is what I think about arguments that Heinlein was fascist.
And in addition to all that: How could someone who is supposedly fascist also write
For Us, The Living?
Heinlein was...complicated (and later in life oddly fixated on the idea of f*cking one's relatives.) Calling him fascist is I think too specific and overly simplifying what his outlook at the time of writing was (that last part is important because his views seems to rather drastically reorient at various points in his life.)
He kind of exists in a weird venn diagram between militaristic authoritarianism, libertarianism and the sexual revolution. I think part of the reason Heinlein feels so weirdly inconsistent has to do with a fundamental lack of self awareness on his part and an inability to conceive of any perspective but his own being valid. Short version: he never though to check his own privilege.
As for 'Starship Troopers' itself: speaking as someone that grew up around the military, the book smacks of martial idolatry of a type typically possessed by those that *really* want to be military but can't because: A) physically or psychologically unsuited, or: B) the reality of it would shatter the fantasy; Think Frank Burns or Arnold J. Rimmer. Yes they're fictional characters, but people like that really do exist; I've met several.
Some do in fact serve, though typically in auxiliary positions and will talk anyone's ear off about it at the slightest pretence. Rule of thumb: the more someone likes to talk about the military, the less they actually *did* in the military and the ones that saw the real nasty shit, don't talk about it at all.