Could I somehow forbid an app usin audio?

could I somehow forbid an app usin audio?

Or at least forbid stop an other running music to gethis sound played.

Mastodon