Maybe this (or other ideas in the same thread) could be useful to you? Programmatically Creating Live Loops On The Fly
My goal was to create a solution where you could arbitrarily run (or stop) a piece of code within a live_loop and it works well enough for my needs.