A Twitch extension cannot natively be used outside of Twitch, as the JWT stuff nor user authentication will work.
A rebuilt app, that both the extension and your webapp talk to a common remote/ebs might work but thats beyond the perview of this forum