Is it possible to use keys from a midi controller and pitch band from another midi controller?

Hello friends !
I would like to know if there is a way for me to use two midi controllers, however,

use the keys of one and the pitch band of another

Yes you just have to select All MIDI Inputs in your track properties.
all midi inputs