I think we can see many parallels here with the legal problems surrounding religious conversion therapy.
Such therapy is all but impossible to legally ban in the United States, despite overwhelming evidence of its harmfulness, because religious counseling is seen as enjoying core First Amendment protection.
Indeed as you allude to, religious sexual-orientation counseling might have been at the core of this suicide.
But whether it was or not, as a society we clearly have to find a way to keep unqualified religious providers out of the mental health business.