Pipewire in bookworm is quite old, with known bugs. But it works most of the time and is default in debian-12 in R4.2 already.
To switch, there need to be pipewire-qubes
package installed and also pipewire-pulse
(which is recommended by the former). That said, I had mixed results as for automatic switch by just adjusting dependencies. Sometimes manual action was necessary to force the switch (some of those pipewire packages conflict with pulseaudio ones).