Very possible. Iran bought @220 Phantoms and 79 F14s and assuming with parts cannibalising they can probably still operate maybe a fourth of them.
With Russian and Chinese help they could install more modern electronics and weapons systems.
We haven’t heard anything about ISIS operating over the Iranian border but if they are the Mullahs are not likely to be forgiving and understanding.
May the Shia kill the Sunni, may the Sunni kill the Shia.