Absolutely. it can even handle python code as parameters. It just requires that the behaviors use the fully qualified name and that the python code also use fully qualified names. That is the only way for it to know what you are talking about.

An example might look like:

<py_trees.composites.Sequence name="MySequence">
    <my_behaviors.behaviors.Foo name="foo" param1="bar" param2="$(my_behaviors.foo())" />
</py_trees.composites.Sequence>