It is not possible to open a task pane programmatically in web add-ins. The best what you could do is to show a dialog window to a user. Task panes can be opened from a ribbon button or notification items.
You may post your suggestion or feature request to the Tech Community.