Oh Bhai, what you are saying is 100% correct, despite the PTI fanbois in denial about the military's support in Imran's rise to power. Heck, one of the few major surviving Imran supporter in media Mr. Haroon Rashid, after the 2018 elections, is on record to have said that the Establishment MADE the MQM MNAs to sit on 'Thandey Farash' (Cold Floor) until the MNAs agreed to support Imran in the National Assembly. Haroon Rasheed!! The guy is to this date infected with the Imrandoo Virus!
About ganging up against the Establishment--well, at one point, the Noonies and the PPP politicians wanted that--they have been far too much hit harder by the Establishment than Imran has been and they both faced that multiple times. So there WAS an opportunity to corner the Establishment but Imran Khan--the dumb *** and the arrogant person he is his entire life, wouldn't even consider a govt. of technocrats to take Pakistan out of the dire straits.
The more you analyze Imran Khan the more you should absolutely LOATHE this guy! What a sad critter who goes without seeing his sons for 3.5 years, and is about to be abandoned by his 3rd wife--a woman into witchcraft or at least superstitions.