Yes. Insects, like all animals, do generate some heat. But they do not have internal regulation of body heat, the way that mammals and birds do. They adjust their body temperature through movement and action. Ants pile into balls to survive the cold, and bees fan their wings to cool a hive.