measurement of the Planck-constant

could one use naturally occurring Planck-spectra for determining the Planck-constant? what would be a viable experiment and would the Sun or the CMB provide a better measurement?