Ehrman wrote a book called "Lost Christianities." In general it is a discussion of the gnostics but as I recall there is a demonstration of how the efforts of the "proto-orthodox" against the various heresies led them into bizarre doctrinal positions.
When I get a chance I'll see if I can find an example.
When I get a chance I'll see if I can find an example.