Iran probably wouldn't be that aggressively secular if it had a genuinely representative government—unlike Iran, Azerbaijan spent more than a half century under communist rule—but it would almost certainly look like Lebanon or Turkey where there's a healthy balance between the secular and the devout. The Iranian government wouldn't need to send thousands of undercover 'morality police' into the streets in the first place if adherence to strict Islamic codes was what everybody actually wanted.
Iran Unleashes the Morality Police (25 April 2016)