It is not possible to install packages on Hass.io. You’ll need to create an add-on to run an application besides Home Assistant: https://home-assistant.io/developers/hassio/addon_development/
It is not possible to have applications interact directly with Home Assistant. You can have add-ons communicate via MQTT https://home-assistant.io/hassio/run_local/