> It's just the stated goal is impossible given the political RoE.
People need to keep in mind tactical versus strategic success. For Iran, the military operation was a complete tactical success, it's just that the strategic goals — assuming there were any to begin with, which seems to be an unanswered question — were not, and it was questionable whether military operations were a useful tool to achieve them at all.
“War is the continuation of policy with other means.” — Carl von Clausewitz
'What is one's stated policy / goal, and is war a useful tool for achieve it', is a question that needs to be asked by civilian leadership. Sometimes (often?) the answer is "no".