This comment: Xperia 10 III audio and video problems trigger after a period of time in use - #26 by elkiaer
uses the command pulseaudio --check.
Can someone confirm that this command exits 0 when everything is OK and not-0 when the bug occurs?
If so one could very easily write a watcher service for this.