User registration in one or more user groups

User registration in one or more user groups

Hi!

When registering, is it possible the user choose which user group they want to register in?

I need to create at least two groups. 
Group One that can add ads in Categories A and B
Group Two that can add ads in Categories A, B, C and D.

How can I create a registration form that has this feature?

Thank you