Kim Yo-jong, Kim Jong-un's sister, is a woman in power in North Korea [1] (yes, probably because she is his sister, but she's no figurehead, and how else does one rise to power in North Korea anyway?) and is deemed by some analysts as a possible successor to her brother.
This doesn't make it a rule, but it shows there are women with power in North Korea. Because it's such an opaque country to outside observers, who knows how many more are there? Keep in mind the world didn't even know of her existence until relatively recently (about 2014).
I don't think something like this -- a woman being considered to run the country -- would be even thinkable in Iran.