Yes Overwatch 2 supports cross-play across PC, Xbox, PlayStation and Nintendo Switch, so you can squad up with friends on other systems. You do need to link your console accounts to a Battle.net profile (that also enables cross-progression/account merge), but once that’s done your cosmetics/progression follow your Battle.net account.