Suport hardware from internal sound card

Hi folks.
Knowing that many of us around the world use hardware such as NUCs, Mini-PCs, old notebooks, among others as a basis to run HA natively. I would like to know the possibility of using the internal sound card to feed an ambient sound amplifier, directly controlled by the HA.