Non religious gay conversion?

Pretty much all of organized psychiatry prior to homosexuality’s removal from the DSM in the 1970s. Homosexuality is still viewed as aberrant behaviour by some nominally atheistic regimes, such as China’s, and so presumably you could find non-faith-based “treatment” there.