My understanding is the trouble with interrupting is that from the point of view of mainstream code, the state of all the global variables just changed out from under you. as if by another thread with shared memory.
Which makes me naively wonder if you could just run interrupts on a parallel thread.