1. Yes pipewire has the native API: https://docs.pipewire.org/page_tutorial4.html
2. For PulseAudio it is more like sitting in parallel than on...