No, he could be gay, but he has learned that who he has sex with is a matter of the will.
Does that mean he learned to be hetero with his wife? That flies in the face of the popular psychobabble du jur that claims the preference is genetic, not cultural.