Smart Loop

I would really like to be able to set up as many tracks as I like of Both Midi and Audio for “Smart Looping”
So say I want to record an acoustic guitar of 8 measures on track 1. And after I record that take have it automatically go to track 2 and so on and so forth. And if I mess up just re-record. But… Have a smart loop like this would be nice for building ideas quickly.