Yeah, totally, I just wanted too make sure I understood what you were asking, since it isn't helpful to answer the wrong question 😉.
The short answer is that it is certainly possible and is a medium-difficulty task, but you will need a willingness to dive into the nitty gritty details and learn the Compose source code. Basically, you will want to create a node tree which is backed by OpenGL nodes, presumably using some Java OpenGL bindings like
JOGL. I know
@jw has implemented a couple of custom composers (targeting different output tree types), and he might be able to point you at one of his early experiments which may be a good jumping off point.
You are probably better off asking this question in
#compose as it would be about more general compose topics ("targeting a different composer") instead of about compose-desktop in particular, and you'll get more visibility there.