While neither of us have any special insight into that, and no-one has certainty, I urge you to read the essay linked, as this topic is in fact discussed with historic examples. "There is a frequent mistake, often from folks who deal in economics, to assume that countries will give up on wars when the economics turn bad ... There is a great deal of ruin in a nation."
You are right that the the Iranian regime's short and longer term goals align. But, happenstance or not, they are aligned and likely will stay that way.
That’s the thing there is no stopping it now. Trump walks away and Iran taxes every barrel that goes through the straight. There is no return to normal.
Right, Short of unconditional surrender, it is very hard for one party in a war to just end it without the other side also agreeing to cease. Otherwise, walking away just lets them target your back.