I think the proper analogy is allowing people to come into your house and to spend the night in the guest room, but only on the condition that they do nothing that in any way betrays that they are gay. (Per
@Wibble's posts, it's not just about clear public displays of affection.)
If you'd do that, gay people would probably not want to come and they'd be right to call you a homophobe. Depending on the country you live in, you might also get in trouble in your social or professional environment, and maybe get charged with a hate crime (depending on how you put your condition forward).
Maybe a bit too obvious as an analogy, but at least we don't have to mess about with dishes and diets this way.