Coping by dehumanizing the victim?
Yep.
There is an entire category of tropes documenting such behavior in our culture. It’s pretty common behavior, especially among populations regularly exposed to trauma.
from that article: “Gallows Humor is, by definition, from the perspective of the victim or at least expressing empathy. If anyone else laughs at the victim or the author tries to make the situation funny, it’s some other form of Black Comedy. This trope is generally when the joke itself or simple laughter allows you to deal with your problems.”
I guess it depends on your perspective. Who’s the victim here.