Yes, depending on the temperature the emission can be anywhere in the electromagnetic spectrum. Check out this graphic from [NASA and the Harvard-Smithsonian Center for Astrophysics][1]:

![The wavelength of radiation produced by an object is usually related to its temperature][2]

As you suggest, when an object cools or heats the kinetic energy of the atoms decreases or increases (respectively), and the peak of the radiation shifts. Note that what is listed on the graphic above is just the *peak* wavelength. For example: stars like [Eta Carinae][3] have temperatures well above 10,000 K and thus have peak emission in the ultra-violet range. Yet Era Carinae also radiates a lot of visible light and in fact is possibly visible to the naked eye as it has a [magnitude][4] of [6.2][5]. 


  [1]: http://chandra.harvard.edu/xray_astro/xrays.html
  [2]: https://i.sstatic.net/2mv2w.jpg
  [3]: http://en.wikipedia.org/wiki/Eta_Carinae
  [4]: http://en.wikipedia.org/wiki/Magnitude_(astronomy)
  [5]: http://simbad.u-strasbg.fr/simbad/sim-basic?Ident=Eta%20Carinae&submit=SIMBAD%20search