Email Account Creation using php/cgi

Is it possible to create an email account from within a php page or something similiar?