just to be perfectly blunt, the act of sampling your guitar amp mic’ed direct into digitakt is certainly doable, but it will be infuriating. First off, the signal chain is going to be noisy and the digitakt gate is either going to be too sensitive or not sensitive enough. You’ll end up with a bunch of false recording starts, or a recording that starts with a slightly clipped first note, particularly if you want to record any kind of distorted guitars. You would need to add (at a minimum) a limiter / noise suppressor kind of pedal and that can ruin the sound of a guitar if you’re looking for a certain tone or ambience (in my experience).
The next problem is the physical back and forth, which is certainly also doable, but using the digitakt to monitor with your headphones plugged into it and also having the mic and amp and other cables around you while trying to not hit anything or bump the mic stand with the guitar or headphone cable is also a challenge.
And to exaggerate the situation, the digitakt’s normalization cannot be disengaged, so if your playing contains any nuance, you’ll lose part of it just by nature of the way digitakt hears and processes sound. If you can live with all this stuff, sure you can do it the way you’re proposing and you can trim your limited audio recordings and keep redoing them until you’re happy.
The better way to do this (just going by my opinion and experience) is to get a micro recorder if you don’t already have one, a zoom or some other recorder with a micro sd card slot, you can mic the amp into your mixer and have the recorder in line with the mic because you don’t need a preamp for a lot of recorders to use something like an SM57 even if you don’t want to use the recorder’s built in mics. A lot of them have some degree of available phantom power but it’s mostly for lapel mics and such.
You can run the recorder in line to your mixer, monitor with headphones from your mixer and have DT also sending audio to the Zedi8, that way you can play along with your digitakt track in your headphones until you’re happy with what you’re hearing. At that point you can start your loop on the DT, engage the recorder, and wait for it to loop back around before you start playing, then record as many takes as you want into the zoom or other recorder and when you have a take you’re happy with press stop.
There are 2 ways to proceed from here, you can put the audio into audacity or another daw and clip what you want, then load the audio into DT via transfer, or you could clip the audio and put it back onto the recorder (or play it right from your computer) and engage the DT auto-record gate without all the line noise for a better line-in sampling experience. The latter method will still normalize the audio, but moving your audio by way of transfer no longer is constrained by limited sampling time and is no longer normalized.
Both ways are viable, but the way you’re proposing has some huge disadvantages, not that it can’t be done but just that thinking differently may save you some time and headaches. Good luck, let me know if I can help with any other questions about this workflow.