You can do this with a Dialog widget that adds a chat-based dialog to your elearning course. The widget features a helpdesk-style avatar that the learner can interact with, ask questions, respond to, etc.