Modifying Email Forwarders with Script

I’m looking for a webhost for our organisation’s new website, and we have things set up right now so that staff get an email forwarder on our domain which points to their real email address.

I would like to write a script that staff can log in to, in order to change where their forwarder points to, rather than me having to do it manually. Is it possible on Dreamhost to access the file that controls forwarders with a PHP script?