Is it possible to create elaborate if else kind of collaboration in crewai?

I want to create say n number of agents but I don’t want all of them to be part of the discussion. Based on the user question I want selective agents to be part of collaboration. Like if user question is objective, an objective agent should be part of the conversation, and if its qualitative, other agents should be part of the conversation. I have this logic in dspy currently. Is there any way to do these kinds of projects in crewai? I wish to switch to crewai for potential stability and improved performance.
thanks for your help.