If they went through Iraq, they would have to tell the US what they are doing. You are assuming that the Prez will give clearance. I know the US military would be happy to escort them all the way to Tehran but the bureaucracy might have other ideas.
“You are assuming that the Prez will give clearance.”
AND that he won’t leak the timing/nature of the attack to Iran so that it is fully prepared for it...