CYD with lvgl as alarm keypad possible?

Before I get lost in another project that I’m probably am going to spend too much time on:

Is it possible/relatively easy to build an alarm keypad on an CYD with lvgl widgets?

I have some konnekted esps wired to my alarm system, but no easy way to arm & disarm the alarm. Currently only possible with the HA app.

I ideally want to connect some CYD to the existing wires from the old original keypads to arm - disarm the home assistant alarm panel.

Anyone did the same thing? Or does this require a huge amount of automations to check keypad PIN number entries and arm or disarm based on that?

Alarm Control Panel Component — ESPHome and Template Alarm Control Panel — ESPHome