Up to a point. As far as nukes go, the main reason for having one is as a deterrent to conventional attacks. Sure, you can try to starve people out, but sanctions regimes often run out of moral legitimacy before their targets do. And countries like Iran or North Korea that are near to or in possession of a nuclear capability are not going to cast it away. Gaddafi did that and look how poorly it turned out for him.