Assigning task to a record owner and their specific team through PD

Hi,

I have created a process definition which triggers when a particular event is completed. The action is to create a task and assign it to the record owner and the specific team of that record owner. For example, Task 1 created and assigned to X and X's Team. Task 2 Created in this case the record owner is Y to assign it to Y and Y's Team. 

Currently the task is being assigned to the record owner but not their team. If I assign it to the a team through PD, it allows me to assign it to one specific team, but I want the teams to be changed based on the Record owner 

Is this possible through process definition ?

Thanks

Saagar Vashisht