Interesting idea, but I wonder what it would decide to do on each recursive cut. I know sometimes it doesn’t behave the way I think it should, or the order of cuts that it will take. It might cut rectangle 1 first, then 7, then 2, etc. @NeilFerreri1 wrote a g-code app to do this, and it works beautifully. I think he is considering how to share it.
It saves me 15-20 minutes per end grain cutting board of sanding. The cut direction makes a tremendous difference.