Scheduled Ringer Volume Change for Work Hours
Yes, you can use "Do not disturb":


Go to Settings > Do Not Disturb
Enable "Scheduled"
Set your desired schedule


Your phone will be muted as long as you are within the DND schedule.

To see how exactly this feature works you may have a look at Apple's explanation for Do Not Disturb.