Iran may have benefited, but I think the main intended beneficiaries were Saudi Arabia and Israel, both of whom had bad relations with Iraq.
I don’t think that the resulting chaos is what they were looking for.