Ability to Assign Multi-Domain to specific category of Site Templates

Hello,

I was wondering if there was a way to make this possible during the Multisite creation process:
1. User makes payment
2. User chooses template category
3. User chooses template
4. User automatically has subdomain created on Multi-Domain specific to template category. (Apples template with site.apples.com, Oranges templates are assigned to site.oranges.com, etc)

Is this a possible feature, or would it require extensive coding?

Thank you!