Iran themselves are an NPT signatory! And yet they pursue nuclear weapons while countries like Japan, Germany, Canada and Netherlands do not.
Not only that, but the only way to do this is to stack the risk against yourself in the case it ever fails.
Just look at the EU/Russia energy dependency. There is good reason that no serious nation does this (intentionally) with actually vital goods like their food supply (not even among allies, really).