In theory, yes, sure, why not? In practice, I would think that any nation with the capacity of launching such an attack would realize that that would be catastrophic not just for their enemies but for themselves. Not to mention that I'm sure various nations have intelligence about any nations that might consider such an attack and would attempt to thwart it.