How seller can fill some form data on a template which is part of an extension through script tag binding, and how template can read the form data

We are creating a extension which need to inject some script tags into seller page and provide some templates functionality. Seller should be enabling some of the templates and filling some form data in each. Template should be able to read the form data and provide the functionality accordingly. Is there any way to achieve this?

explore this for script injection : Add a tag | Fynd Partners Help Center

For other part you can launch you UI as iframe inside platform for more infor read this