The real problem is geography as Iran doesn't share a border with Israel. Iran would certainly lose an air war and so would need to attack usng ground forces. However to do that they need an ally to allow all of their troops in. They don't have the naval forces to do coastal invasion without their ships being wiped out be Israeli air and naval assets.
So what route would a ground invasion take? Do you really see Turkey or Iraq allowing an Iranian army to traverse their lands?
Tbh i wouldnt be at all surprised if Turkey let them traverse their lands...dont know about Iraq becasue as far as im concerned they just have a puppet American govt in charge there so they wont be able to do anything without America putting its foot in to stop it. Now if Iraq still had Saddam then i would imagine things would be different.
What you fail to understand is that most if not all the muslim countries hate Israel with a passion and i dont need to go into great details as to why that is. So i wouldnt discount Turkey or any other muslim country to let Iran use their lands to launch an attack against the Israeli's.
We dont know for sure if Iran would lose an air war against Israel...theres a pretty good chance of it happening.
Personally if Israel attacks Iran then i wont have a single ounce of sympathy for them if they get attacked back. Israel needs to reel in its attitude a bit and not get itself into another long mess. I just hope America with its new govt puts a stop to them before its too late.