Yes. Luckily, most if not all modern home appliances are built to be energy efficient. This means they make use of the least amount of electricity to do the task most efficiently.  At the same time, they ensure that very little energy is wasted by using absorbent material keeping all the heat inside as opposed to expelling it. You can always check for energy-efficient stickers on your microwave of choice.