Rules are never the answer to bad DMing. But, and I've voiced displeasure on this prior, people seem to want to codify things for just that purpose. This even extends to player behavior too.
For example, in a thread in May about adopting the 2024 revisions, someone commented about balancing backgrounds because why would someone use a background that a DM could "steamroll," over one that was a numbered bonus. This is, to put it plainly, codifying a fix for bad DMing. And it's a fix that wont actually fix anything, but instead just bloat the system while bad DMs ignore it. Nevermind, that the likely response is disgruntled players badgering DMs with the lovely phrase, "but the rules!" And there are dozens more examples just in the 6 weeks I've been on this board.
There is a point where a system is so codified, and so full of rules, that the DM becomes extraneous and is, in essence, replaced by a robot who masquerades as a human while reciting rules on prompt.
It will be like a fantasy version of guess who, but where you prompt with a situation and the "DM" recites a rule. Maybe, we could assign points to players based on if their prompt gets a desired answer. And at that point the system becomes nothing more than a video game with bad graphics, where an AI can interpret player input and recite the result based on a simple algorithm.
But, at least, we wont have bad DMs. So that's a win.