Yes. You can set this in the sip profile settings ... and then when it's called in the bridge statement it will just work.
For example you take a call on profile external (which allows multiple codecs) and then bridge it via profile internal (which only allows one codec).
SDR