Use kibana inside an external node js framework

We have a lot of editable forms in our requirement for which we need to have editable textboxes that are pre-filled and can be submitted on button click by user... so we have two approaches for this:

  1. we create plugins in kibana with those functionalities.
  2. We create a custom framework of our own using node js and bootstrap and embed kibana 5.4.0 inside it.

Is point(2) possible?? can we embed kibana framework inside another custom node js framework?.. i could not find any similar project in git

Kibana is designed as a standalone application, not a library, so it won't be possible. The closest you'll get to embedding kibana in another app is the sharing functionality which allows you to display visualizations and dashboards in an iframe.