Yes, anyone playing on Xbox Series X/S, PS5, or Steam can play with friends on opposite platforms.