Yes. The way to do this depends on which DJ application you're using.
■rekordbox
rekordbox has a MIDI Learn feature. You can use it to change the buttons or knobs that features are assigned to. For details, see the MIDI Learn Operation Guide [here].
■Serato DJ Pro
Serato DJ Pro has a Remapping feature. You can use it to change the buttons or knobs that features are assigned to. For details, see the Serato DJ Pro software manual on the Serato website [here].