I know that same kind of issues has been made and got negative answers.
The last one seems to be #287 and is was in 2020.
But I found that in 2022 the WASAPI loopback had been implemented in PortAudio/portaudio#672 , so maybe introducing loopback into sounddevice seems possible now.