Ooo this is nice. I may have to try to get this working with my personal setup using Emacs and Sway.
My long term vision is to make an Emacs implementation that is compatible only in philosophy. It would use Guile instead of Elisp, default to bindings that are more familiar to people coming from more modern systems, and would be built from the beginning with concurrency and graphics in mind. For now it remains a dream though.
VSCode is pretty much this. But with typescript instead of Guile. After 30 years of Emacs, I switched .
Sounds like you want Lem. Though it's common lisp instead of guile.
I know, right? However, one of the strongest points of Emacs is the huge amount of existing packages.