If you’re willing to run a Hubot chat bot, I wrote an adapter that can talk to Discourse that might fit your use case.
You will still have to create your own Hubot plugins to hear and respond to messages however you like, but technically yes it is doable.