cavity, the item’s ability to maintain its temperature can be compromised.
However, some modern insulated products are specifically designed to be dishwasher-safe, so check the manufacturer’s instructions before deciding.
Your “keeps coffee hot for 6 hours” mug could eventually become just… a mug if its insulation is damaged.