I own a Pixel 6 running Gos.
I have never had a message about overheating or noticed excessive heating.
But when I'm playing games and the phone is charging, the charging stops at some point and via the AccuBattery app I can see that the battery is too hot and the charging reduces and stops.
A few minutes after I stop playing, the charging resumes.