Yes, it should be safe in the short term, but look into buying a new microwave as soon as you can. Be aware that your food won't be heating evenly and you may get hot and cold spots in you food, so it may help to pause the heating every 30 seconds and manually turn the food half a turn or give it a quick stir if it's possible.
Rupert
January 2020