Temperature recording in sleep tracking

Since I live in a tropical country, temperature has a big impact on the quality of my sleep.

Could a temperature recording be incorporated into the sleep tracking as well?