Creating Polls Programmatically: Integrating JSON-based Polls in Jitsi with Custom Button

Is it possible for someone to provide guidance on how to create poll questions and answers from a JSON file without using the user interface (UI) provided by Jitsi? I have a button in Toolbox.tsx, and I want to be able to create a poll by simply pressing that button.