My understanding (not having used a new one) is that current RaspberryPis get pretty hot.
I’m sure it’s not as hot as a printer head (~200c) but I’d worry it might be enough on the inside of an enclosure made of lower-temp thermoplastic to cause warping.