I wonder if something like this is possible
Fortunately, no. While processes share the initial class definitions, any app that somehow modifies those definitions will transparently work on a new private copy (Linux copy-on-write).
My intention is to find a way to grab audio from other apps
Fortunately, that is not possible, for obvious privacy and security reasons.