Is it possible to capture both audio and midi from a standalone plugin app into Ableton?

I'm a piano player and I prefer to play without latency, so instead of using the plugin version of Keyscape within Ableton and recording MIDI with that, I record the audio of the Keyscape standalone app into an audio track within Ableton, which gives me almost no latency. The only down side is that with audio I can't change anything or see which chords I played unlike MIDI recordings. Is there a way to still capture those MIDI files with the audio from Keyscape, because its still digital right?