I have a monitor which is connected by display port, and speakers connected to the monitor via old-school 3.5mm jack. macOS (12.2.1) recognizes that sound output, and I can hear my system sounds ...
I have my MacBook Pro connected via thunderbolt to my Dell monitor. The Dell monitor has a line out port to my powered speakers. Unfortunately, my speakers have independent volume controls in the back ...