If they were doing some of this intentionally, they'd have some gains to show for it.
What Putin was hoping to accomplish was the immediate capitulation of the Ukrainian people, concurrent with the capture of their capital, the overthrow of their government, and the installation of a Moscow puppet regime.
This failed because Putin had bad information about the quality and readiness of his troops, and he had bad information about the quality and readiness of the Ukrainian defenders. Being that overly, on the nose wrong about those two things has snowballed into the intractable mess Putin is in today.
Putin lacks the political capital to withdraw. He lacks the military wherewithal to decide the contest in his favor. And he lacks the diplomatic finesse to sue for a favorable peace brokered by a respected third party.
The issue isn't that Putin is a cartoon villain. The issue is that he's driven his country into an
incident pit. That's less a matter of being consistently, stupidly wrong all the time, and more a matter of being critically wrong at certain inflection points.
And even if Putin and his generals are being smart now, you still have to account for the fact that the entire Moscow military apparatus is systemically, institutionally stupid. The best thing a wise commander in chief could have done is aggressively reform the armed forces fifteen, twenty years ago. You doubt that Putin is being overly on the nose wrong about everything? He was obviously overly, on the nose wrong about that.
What clever, competent thing do you imagine Putin might be keeping up his sleeve? A secret army ready to spring up the moment the counterattack begins? Mass raids of precision-guided missiles, targeting actual military assets of Ukraine? Dogs with bees in their mouths, and when they bark they shoot bees?
---
tl;dr - even if Moscow isn't being this overly, on the nose wrong about everything, they've been this overly, on the nose wrong about enough things that there's no recovering now.