DN - Ableton - MIDI-Keyboard

Hey Maybe I have a bit of a stupid question … So the DN crashes over OB very often that it is not possible to use it over OB. Now it is connected to the A4 with MIDI and audio and can therefore be played synchronously with the other devices via Ableton. As I said, it is connected to the A4 via MIDI and I am wondering whether I can play it with my USB MIDI keyboard, such as the A4? So can I play it from the A4, so to speak? If that doesn’t work with the A4, maybe with the DT? So it is important that it can be played with the USB keyboard via Ableton … not with the devices.