True. On the other hand, whilst some of the rhetoric might have been legally acceptable, it was also unwise (e.g. "If you don't fight like hell, you're not going to have a country anymore."). A lot of riots have occurred not because the speakers have urged the crowd to bring fire and destruction to their enemies, but just because they have riled them up. A lot of giving speeches is to induce emotion and inspire. If you have a crowd in front you who are angry and fearful, and you inflame their passions and tell them to march on someone, you are absolutely inviting trouble.
What bothers me more is that after he went back to the White House and sat watching the riot on TV, not only did Trump see the unfolding debacle and appear to be untroubled, there are reports he was enjoying it. Backing this up, he made no effort to intervene and de-escalate, apart from one very late and extraordinarily weak statement. And this is what I mean by self-sabotage. A rational person would have realised how badly this was going to turn out both for the nation and him personally, but that vindictive narcissist was intoxicated by the idea of having people who feed his ego wreak harm on those who hurt his ego. The next day of course the high had passed, and there's the hangover: Trump realises just how much ordure he's in, so he throws the rioters under the bus.
If we also want to argue that FDR won the Battle of Midway rather than Chester Nimitz, sure.
Obviously the operational control of Congressional security is handled by trained and experienced police/security professionals, with advice from wider intelligence and law agencies. Unless someone can point to evidence of Pelosi (and/or McConnell, who had equal authority to Pelosi) countermanding the recommendations of these professionals, this should be assumed to be nothing but misdirection.