Unlees things have changed then they wont be ble to team, but you can switch sides so a former villian can team with heroes and a former hero can team with villians. So yeah you can kinda team with each other but it'll take more effort than simply inviting them.