Memory foam is hot but latex foam is not. I have slept on them for over 25 years and never had a problem with them. I did sleep on memory foam at my son’s house and it was hot.
I see all sorts of stuff advertised for those of us who “sleep hot”—