There's a patch for pulseaudio that allows bidirectional A2DP: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge...
You want mSBC support on HFP. Here's an open ticket for pulseaudio, for example: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge...