This does occur in IR spectroscopy, and you can have both emission and absorption measurements of both UV and IR spectroscopy. It depends on the instrument and how your detector is related to your source of radiation.
If you want to measure the absorbance of a sample, you put the detector in a direct line with the source, and your sample in between. If there is no sample, any radiation emitted by the source will be detected by the detecter. When you interpose the sample, any frequencies which can affect your sample get absorbed. Your detector is detecting any radiation NOT absorbed by the sample. Absorbed radiation is reemitted in random directions, so that energy will be missing from the energy seen by the detector.
If you want to measure the emission of the sample, you put the detector at 90 degrees to the sample. If there is no sample, the detector will see none of the radiation emitted by the source. When you interpose your sample, the sample will absorb certain frequencies and re-emit them. Since the absorbed radiation is reemitted in random directions, some of it will be emitted at 90 degrees to the source beam, and the detector will detect it. Whatever radiation is detected comes from radiation emitted by the sample.
These types of absorption-emission choices are common to any radiation source. Mechanical considerations and technical aspects based on noise and detection limits determine whether instruments use absorption or emission detection, and both types have instruments have been used on all types of radiation that I am aware of.