They can and do for solar flares. Problem with EMPs is that the magnetic pulse is, in theory, strong enough to generate enough power via the coils inside the transformer to blow the transformer up.
Then again, if folks are dropping nukes on us...does it matter all that much at that point?