Um, yes:
"Aversion therapy has been used in attempts to convert homosexual individuals to heterosexuality. While more common past decades, is still utilized in some situations."
"Psychologist Martin E.P. Seligman reports that while aversion therapy to "treat" homosexuality is controversial, it can be safely reported that, in some instances, the process "worked surprisingly well," with up to 50% of men subjected to such therapy not acting on their homosexual urges. (Seligman, p. 156) These results produced what Seligman describes as "a great burst of enthusiasm about changing homosexuality [that] swept over the theraputic comunity" after the results were reported in 1966. (Seligman, p. 156) However, Seligman notes that the findings were later demonstrated to be "flawed": most of the men treated with aversion therapy who did in fact stop homosexual behaviour were actually bisexual. Among men with an exclusive or near-exclusive homosexual orientation, aversion therapy was far less successful. (Seligman, p157)"
That's a good one. Aversion therapy was abandoned over 30 years ago.