Try the executor-level-executor provided by bosch, which is in the mainstream since Galactic.
the example is in examples/rclcpp/executors/cbg_executor at rolling · ros2/examples (github.com)
the pr is in executors should be able to operate on callback groups rather than nodes · Issue #519 · ros2/rclcpp (github.com)
tutorial is in ROS2 from the Ground Up: Part 5- Concurrency, Executors and Callback Groups | by Jegathesan Shanmugam | Medium
the paper is in Exploring Real-Time Executor on ROS 2 | IEEE Conference Publication | IEEE Xplore