How can i use kibana as plugin

i think it should be possible, your plugin could add a css with overrides for kibana styles, however i have a feeling it would be a lot of work, plus every time kibana is updated it would be broken, so even more work to maintain.