I’ve been thinking about this one for a while. Nice work on this, NeverStop!
If you’re looking for a simpler way to do this, you could try kiosk mode in a web browser. The Xbox app leverages kiosk mode.
Use your favorite search engine to learn how to boot an RPi directly into a web browser (bypassing the window manager) and configure the web browser to automatically launch the kiosk-mode URL.