I'm having a similar issue with my Macbook Air M3 (running Sequoia 15.5). I have a dual monitor setup using a Thunderbolt docking station (Dell WD19TBS). My Macbook is always in the closed position. The first monitor is connected via DisplayPort on the docking station, and the second monitor is using the Thunderbolt pass-through port on the docking station (USB-C to DisplayPort).
None of my monitors have speakers or audio outputs that I know of. I am purely using the Macbook's speakers. I also have the Macbook's bluetooth permanently switched off.
About every 3rd / 4th day during the evenings (when I'm not using the Macbook), the Macbook seems to have restarted (while it should be in sleep mode), most of my running apps have been closed and I'm asked to open them again. In this state, some of the apps stay unresponsive, in which case I have to restart the Macbook again anyway.
According to the Console -> Diagnostic Reports the issue seems to be audiomxd: "90 seconds cpu time over 102 seconds (88% cpu average), exceeding limit of 50% cpu over 180 seconds".
Any suggestions?