Not without coding, currently the freepbx integration sets DND to DND, you can look at extensions_override_fop2.conf file that is generated on the latest fop2 versions, look at the context to set dnd, and alter it to create your custom codes with custom modes.
Comments
Best regards,