Of course it did.
Oil for food didn’t accomplish anything because France, Germany and Russia violated it every chance they had. And it was much more publicly enforced than the Iranian embargo. If you think Iran was actually truthfully embargoed and couldn’t get absolutely everything they wanted, just like Saddam, then you’re just plain stupid.