The closest I can see is using automation to mute the volume when you start a specific app, and unmute it when you close it. That mutes everything, for instance the podcast you might be trying to listen to. But still, a partial solution. www.reddit.com/r/shortcuts/...
Explore this post and more from the shortcuts community