Is it possible to set up my phone to automatically be in DND mode during particular calendar events?
Short answer… No.

There is no public API that manages the "Do Not Disturb" feature. There are also no frameworks that can achieve this.

Googling would also say it's not the kind of sandbox breakout Apple would be likely to allow in the future, either.