In the real world, on earth, racism is a problem because it relies on the scientifically false belief that the human 'race' is divided into species or subspecies. But, again, that's not true - we're all homo sapiens.
Hmm, clearly you and I have a different take on what precisely it is that makes racism wrong. Though fortunately we don’t need to agree, and this isn’t the place to debate it!
Neither do I want to see a world where it's bad to wipe out a camp of goblins because we know that goblins "gather in large numbers to torment other creatures" In DnD if you kill a goblin, a zombie or a demon you are probably saving another innocent life. Neither is believing that some races are better than others a problem, it's just the 'reality' of the fantasy setting. And people who kill evil species aren't ice holes, they're adventurers doing their bit to make the world a better place.
Well, some of the characters I’d choose to roleplay would share that moral view, but I’d find it kind of boring if I personally believed it was as simple as you suggest!
Luckily for both of us, I don’t think there’s any danger of the game stopping you killing goblins with a glad heart, or me from feeling morally torn as I do so.
And while I’m not fussed about actually playing a goblin and would prefer that Larian focus on getting the other PHB races and classes into the game and polishing the mechanics, I’m sure that playable goblins will be modded in at some point if they’re not available in the base game.