Is this keyboard setting possible?

Is it possible to assign the left and right keyboard arrows to adjust the pan and the up and down arrows to adjust fader volume per channel?