Yes, you can still play and engage in various activities with friends who belong to different teams. However, when participating in gym battles, you will be on opposing sides, adding an exciting competitive element to the game.