My immediate answer to this is “why would they think that when Imrahil is out there actively campaigning to be the most popular man in Minas Tirith”, honestly? I know it’s sort of a popular theory in the more Gondor-centric parts of the fandom to hold that Gandalf at the very least really looks like he’s planning a coup, but I think that the evidence is significantly more in favor of Denethor’s brother-in-law as the brain behind that particular goal.
More or less off the top of my head:
What I mean is - yes, absolutely, I’m certain that people think Gandalf did something to get Denethor out of the way, but I think they assume he did it in cooperation with Imrahil (who, in this conspiracy theory, knew Aragorn was coming - he sailed up the Anduin, Dol Amroth had to know!) instead of what “really” happened, which is that Imrahil had a full revolution he was planning and then his brother-in-law set himself on fire and made all the plans moot.
I absolutely believe that during/after Aragorn’s coronation there were some gondorian nobles who were convinced Denethor was framed m bc by Gandalf.