There were free-love sects of "Christians" who practiced orgies, those who went about "naked for a sign", a revival of Arianism, two-seed theories that still have adherents today, etc.
It doesn't surprise me that such a manuscript could have emerged in those days.
Then, too, the antinomianists rose up spreading their heresy among all sorts of Christians, and they haven't disappeared yet.