it's nurture not nature, so yes they can but it may be impossibly difficult to do so.
an apt analogy would be someone who is religious to stop believing in what they were brought up with, for some people it is easy but for others they believe no matter what
the same people who think being gay is genetic are probably the same people who think being fat is genetic