LVGL rendered in ImGUI?

Hiya,
I am building an app for Linux with ImGUI, that takes some parameters and writes some LVGL code to an attached device. This requires a preview of what that LVGL code will render, and I have found some solutions that simulate the LVGL in another window, like SDL and X11.

However, I would like for the window that pops out to be directly integrated with the ImGUI window, and be locked to it. This LVGL code is only for preview, so I am looking for any way to render it inside ImGUI at a fixed resolution, nothing fancy. I just want to have one window that has both ImGUI objects and this preview window. It can use SDL or X11 or Wayland or OpenGL or whatever.

Any ideas? Thanks in advance.