OSMC uses bluez-alsa to support BT audio. We build this with only those codecs that are free to distribute which does not include aptX or LDAC. See here.
If you are comfortable with compiling linux apps then follow the excellent instructions in the bluez-alsa wiki to roll your own. Let us know how you get on because it’s been a long time since we’ve updated our bluez-alsa build.
I just remembered, we do give some guidance on how to add codecs here.