Is making a joke in the Talmud something Chazal would do?
What makes me wonder is the gemara in Pesachim (9b), which, in discussing the concern that a weasel may drag chometz around the house and leave it in a spot already checked, makes the following exlamation:
וכי חולדה נביאה היא
Is a weasel (chulda) a prophetess?
It happens to be there is a prophetess who was named חולדה, as in מלכים ב' פרק כ"ב פסוק י"ד, so... yes, חולדה נביאה היא. So, it seems to me that either Chazal were willing to put puns into the Talmud, or this was a highly coincidental unintended pun. Which is it?