This question is on-topic because the author is trying to build his own world - he just takes inspiration in a humorous way from an already existing universe
Yes, he clearly took paralleles to existing canonical universes. And yes, he clearly is trying to go with the trope of Redshirts dying.
But he does not want to know how this is handled in the show. He just takes the premise and incorporates it into his own world as truth.
There is nothing wrong with taking inspiration from other sources. The jokes are merely for entertainment. It's still clear what the author is asking about and how he changes the canon in his own creation.
It doesn't even matter if you get the references. I only heard of this trope once and never watched the show/movies/..., but reading the question still makes clear what he is asking about. I don't need to know anything about the canon, so it's a clear and valid question that can perfectly be answered on WorldBuilding.SE.
The default assumption under which questions should be viewed is that the OP is trying to create a world of his own. If he was not trying to create a world of his own it would not make any sense to post on WorldBuilding.SE. Unless the OP is obviously asking for a canonical answer like "How is [stuff] handled in [show]?" or "Why are Redshirts dying more often than other color shirts in Star Trek?" we should assume that the OP is at most taking input and inspiration from existing canonical universes. Of course we sometimes see questions that are clearly about the canon - these should be redirected to another site because we are trying to build worlds here.
This is basically just one of the core principals that we should follow - assume good faith.
The author is asking on WorldBuilding.SE because he wants to build a world. Until proven not to be the case we should assume that this holds true.