Any way to create the following work flow ....

5.x-1.0, Miscellaneous, feature, normal, active

User signs up as customer --> made a part of civicrm customer group
User signs up as a vender --> made a part of the civicrm vendor group
User signs up as a XYZ --> made a part of the civicrm xyz group
So instead of a one group option there is a more of if this "role" of a drupal user sign up then this civicrm group?
Thanks
Alfred Nutile