It’s tedious but likely possible.
If you really want to engage an LLM to help point it towards Cherri (https://github.com/electrikmilk/cherri) to help with implementation