Not really. Team Fortress 2 is famously light on profanity—the most "aggressive" line you'll regularly hear is a character shouting something like "Die, you cowards!"
The game's humor leans toward slapstick and over-the-top action rather than crude language, which is part of its broad, playful appeal.