I think Iran can secure SU-27 license, it was an air superiority fighter. SU-30, SU-34, SU-35 are all based on SU-27.
China produces SU-27 under license as J-11. So it is possible Iran can secure SU-27 then start improving the avionics, armaments, etc itself.
If it can secure SU-27 and couple it with an advanced Iranian phased array radar and domestic weapons it can rival SU-30/SU-35.
I doubt Russia will give ToT tech of SU-35 as that is their most popular export fighter. SU-30 May be possible as India was able to secure production of the fighter. But I’m skeptical that Russia will give Iran it.
Also Russian SU-35 lost against China’s J-10s in war games. Reason was due to radar and armament of J-10C.
https://militarywatchmagazine.com/a...at-exercises-how-the-firebird-came-out-on-top