He certainly would, though I don't know that Bryan counts as a "socialist."
I was thinking more along the lines of actual Marxists from the nineteenth century. Yes, they were anti-religion, but they did not exalt sexual deviancy over the working class.
They may have seen it as the ends justifying the means. Whatever it took to get to the utopia, utilizing whatever or whomever to get to the promised land and overthrowing the entrenched order. Once accomplished, they could swiftly deal with the useful idiots (the deviants) via whatever means they saw fit to utilize (prison/gulag or execution).