Sending Midi to sequence external hardware or drum rack

Hello !

Is it possible to sequence external hardware (drum machines) or ableton drum rack with patterning sending midi? In real time?

Thanks in advance!

Joseph