Serialize, Converter and Layout LVGL UI from JSON or other raw content

I’m using LVGL on an ESP-32 with PlatformIO. The device is connected to a webserver using HTTP or Websocket.

I’m was wondering if there is a way to download the LVGL UI or Layout from the server in a JSON format for instance and display it on the ESP-32 ?

Or if I ask this question another way. Is there a kind of very basic browser that will take as input something like raw content like HTML/JS/JSON/… and display it ?

My goal is to serve the view/logic from a remote server instead of coding it in the Arduino firmware. But may be it is a stupid idea ? Looking at the code of LVLG it is same logic as HTML/CSS so I was wondering if someone already build a “converter” ?