You can block websites on Google Chrome using an extension called BlockSite or in Settings.
You can block individual sites, or only allow your Mac to access certain sites, via Screen Time.
This guide explains how to block and filter websites to restrict employee access to certain content on the company network.