Yes it is. Humor makes discussion more lively and it can attract the attention of your listeners. But you also have to make sure that the humor you're giving is somewhat relevant to the topic. It can help speakers or teachers make their listeners respond or interact with the discussion.