One thing I've learned as a writer is this:
Don't lie to your audience.
Diversity is life, regardless if people accept it or not. You have to purposefully separate yourself from people do get away from what is considered diverse and even then there's no guarantee.
The only times I see it become a true problem is when a writer expressly tries to tell a story from the point of view of a CULTURE they know nothing about IE: Americans trying to tell anyone a story from the perspective of a Japanese high school student or authors using dated and toxic stereotypes about whole groups of people. Everyone is guilty of this at once point or another and, even, I think it's somewhat of an inevitability when you're trying to tell a story where there are people involved who are not apart of YOUR particular ehtnicity/culture/sexuality, etc.
Me, for example, my original title has Native Americans, ancient Egyptians, Romans, once-enslaved black Americans (the first part is a western) and as the author I fully acknowledge there are nuances of, say, Native culture that I am in no way qualified to tell but I can't take them OUT of my story because it's set in the old west and it wouldn't make sense if my characters were wandering the plains and...THERE ARE NO NATIVE AMERICANS.
That's a LIE. Don't lie to your audience.