Yes. Battlefield 3 has a two-player co-operative mode, and in multiplayer, friends can form a two-player squad by setting the squad to private.