Connecting a behavior/state tree to an AI NPC spawned by Mass AI

Hi, I wanted to create a pedestrian system where the NPC’s are spawned by the Mass AI plugin and state tree but I also want the player to be able to interact with these NPC pedestrians. Is there a way to connect a Behavior tree or another state tree to the NPC character spawned by the Mass AI spawner so that when the player interacts with the NPC, the AI starts using another tree to react and do it’s states?

If not, what is another way that I can optimally and efficiently spawn a lot of NPC characters so that they are still able to follow a behavior tree and react when a player interacts with them?

Thank you! Any help and advice is appreciated!!