the Jester
Legend
I kind of lean into this. Part of the fun of D&D is, Legolas and Gimli style, first establishing and then undermining the assumptions each race tends to hold toward each other, and therefore the assumptions that underlie racism as a world view, whether through the actions of pcs or npcs. I think you can have racism and prejudice in your game and depict it in such a way that it's not seen sympathetically. Likewise, you can have slavery in your game without supporting slavery, and without depicting it as a good thing. Especially when it's explicitly not all members of the race that are racist (and especially when it's never forced on pcs).True, but I can how slippery that slope is. After all, many aristocrats felt that they were superior to others based on their "noble blood" alone.
Take that, apply it to an entire race of people about their views of other "races".... it quickly gets bad. Even if you add in a concept like "Noblesse Oblige" which is basically "I'm better than you, therefore my responsibilities are to protect and aid you" that gets very paternalistic and can quickly slide into very bad places.
I'm not saying it has to, but it certainly teeters on the precipice of a deep gorge.