Not all teachers allow it.
I told my first grade class today that absolutely no jokes are allowed at school tomorrow and they can play jokes on their families at home all they want.
It's hard enough to maintain the attention of 2 dozen first graders all day long. I don't need little pranks being played all day.
Imagine if each kid played a joke on the rest of the class....24 jokes throughout the day? C'mon.