I think this whole thing has been orchestrated to sabotage Brexit, and that includes conservatives including Johnson
let us go through the sequence of events;
Johnson goes in all guns blazing, the farce of the prorogue, designed to purposefully inflame remainers, the smoke screen of the court cases - (interesting how they fail when parliament itself has done what was needed), rees-mogg lounging in the HOC, throwing out the 'rebels', the 'do or die' pledge, which meant if he was unable to leave (i.e. seek an extension), he has the escape route of resignation on grounds of principle, thereby handing the keys to Corbyn to enact a 2nd ref, revoke a50, whichever is easier.
a series of cock-ups? - i don't think so. more along the lines of a stitch up to resolve the brexit question in remain's favour, which was the objective from the outset, and only the 'wrong' initial result threw that awry. the only leavers are the brexit party and ukip and they operate on the very fringes.