I'm not sure if this is in the scope of the project, but I have a framework 12 2 in 1. I had to write a script https://github.com/nanvenomous/unix/blob/wayland/.scripts/tablet_rotation.sh which runs and kills rot8 based on the angle of the laptop hinge (tablet mode vs laptop mode).
Is it possible to get rot8 configuration to handle laptop modes?