yes that will work just fine.
If your HDMI output to your monitor/tv has audio and the monitor/tv has audio output that will also work - mine has digital output (optical, some have RCA coax) so that would be preferred (as digital is cleaner signal) to your stereo.