 Not just anyone can run for president or any national office in Iran. You got to get approved by a very hard-line body called the Council of Guardians. And most people are rejected. Most people aren't allowed to run. So in that sense, politics in Iran is very much constrained. It's not free and fair, etc.