Sparkling inside a microwave oven is a common factor, and it doesn’t mean that your microwave has been damaged. You may see sparkling inside the microwave oven for some reasons.
If the wave guide cover gets damaged, the diode gets burned, or there is any metal scrap inside the microwave you may see such sparkling when turning it on.
If this happens, immediately turn off the microwave and adequately examine the microwave.