It is possible, but I wouldn’t go down that route, not required.
As @jmartland22 said: build an administation tool (could be done in Wappler and packaged with Electron, if it really needs to be a local application) that allows to to create/design the forms. The app then checks on launch for new form definitions (e.g. a JSON), stores the definitions on the device, renders the form on runtime (not designed as static screen in the app), and uses a local document storage to make things easier and job done. Everytime the app launches, it checks if it’s online and syncs data back to the server.
One of my current projects in flight, a contract management and signing system, works like this.
That’s how many of the “app generators” like “GoCanvas” work, they are just form generators and data collectors.
/heiko