No, nukes cannot stop the moon from crashing into your family's Minecraft world. The only way to prevent this from happening is to use a mod or plugin that allows you to control the moon's orbit.
uhm maybe fusion reator can give enough energy for a plasma weapon