Why can't Iran have nuklear weapons migapedes??

Pakistan has them and they are doing just fine, while being a more inbred shithole than Persia