Yes. Always keep the plug vent open when carrying boiling liquid to prevent steam build up.
For best results, rinse in boiling water prior to filling.
A note of caution with glass tumblers. You cannot heat liquids in the microwave above boiling point, it will cause them to shatter with temperature changes.