Bigotry is an odd thing. To be bigoted you have to be absolutely sure you are right and nothing makes that surety and righteousness like continence. Continence is the foe of heresy.
The best advice is not to write what you know, it's to write what you like.