Yes you can. But try not to overheat it.
Answered by Sarah, Electrical Safety Expert
You can heat up water in a microwave, but overheating can cause the water to become superheated and erupt violently. Do not heat for longer than the recommended time for the quantity of water used.