Yes, humor can be a very effective teaching tool. It can help maintain student engagement and ​help build community among teacher and students.