In schools and offices, blocking gaming websites is mainly done because they want their students and employees to concentrate on their work instead of playing games.
The second reason is that the internet is required for many of the tasks you do, and playing games in general slows down the internet. Lastly, many gaming websites are sources of viruses, and hackers use them to hack into your system.