"Alternative A2DP Driver" offers this functionality on Windows. Lets you customize SBC parameters, use AAC, aptX (apparently, haven't tried). Works well in my experience, lets me use LDAC with my sony XM4's. It's trialware, but cheap.
I have seen the bluetooth range drop off in higher quality modes, which seems to confirm it's actually changing the codec (or at least something) and not just a placebo.
https://www.bluetoothgoodies.com/a2dp/ (i have no affiliation)