Maybe Obama could but the U.S. can’t. Obama doesn’t speak for the country.
The US policy that has been in place for decades is that any nation that signs the non-proliferation treaty is entitled to civilian nukes, including Iran, who has signed the treaty.
So, who hasn't signed the treaty but have miltary nukes? Israel, India, Pakistan, and N Korea.