

Everybody but Trump knew that Iran would close the strait of Hormuz. Which made it incredibly stupid to go to war with Iran. For reasons which are right now self evident, not that they were not evident before.
So no, nobody but a mentally declining idiot like Trump would have gone to war with Iran.

A Shakespeare quote is relevant here, about those blowhards:
It allowed unserious people to sound tough on Iran on TV. But until Trump, there were no chance of them actually going through with it, if given power. They truly had to ignore even the most basic of Iran expertise, known even to laymen like me.