Hey tape <3
unless the applications you want to run through different outputs have an option for that, like foobar or vlc where you can choose what outputs you want, i don't think there is a way to go about doing this. I have an audio mixer that acts as an output that most applications i use see as an entirely different "sound card" so i run most things through that while music/foobar runs through my speakers.
works for me.