Eating food that has been partially eaten by bugs is generally not recommended, even if it is cooked in the microwave oven. When bugs consume food, they can introduce bacteria, parasites, or other harmful pathogens into the food, which may not be entirely eliminated by cooking.
While cooking food in a microwave oven can kill some bacteria and pathogens, it may not eliminate all of them, especially if the food was heavily contaminated. Additionally, some bugs produce toxins or allergenic substances, which may remain in the food even after cooking and could potentially cause health issues.
To ensure food safety, it's best to discard any food that has been partially eaten by bugs. Store your food properly in sealed containers to prevent insect infestations in the future, and regularly clean your pantry and kitchen areas to keep pests at bay. If you have concerns about food safety or possible contamination, it's always better to err on the side of caution and avoid consuming questionable food items.