There is some sense in the "homophobes are gays" thing
Obviously it's not true in all cases, and I would say only a minority are actually full on gay. But many of them do have latent homosexual tendencies, which explains the insecurity/homophobia.
I can't be arsed looking, but there have been studies done on this, which backed it up iirc