Bill Walsh put a stop to it when he took over the 49ers in ‘78. They were big losers at the time. He was ahead of his time.
Pranks, if done right are harmless and they help to develop camaraderie among players.