Any fun activity with your coworkers can be considered a team-building activity. The real question is whether or not that team-building activity gave you the desired outcome.