I think this is a great feature request, unfortunately we are not setup at the moment to “widgetize” chat like intercom and others do, but it is certainly something we are thinking about.
I feel it is very much a version 2/3 thing vs something on the immediate roadmap, it would require a major rework of Discourse internals to get this going, especially accounting for “anonymous” chatting among other things.