Yes, Team Fortress 2 has bots, and you add them yourself from the console. The catch is that they are demanding on your hardware — on a modest machine the frame rate can drop badly once a server fills up.
You can also add a specific class or team with extra arguments, and remove bots with tf_bot_kick. It is the standard way to learn a class or test a loadout without an audience.
WoW Skinning Leveling Guide 1–600 (Gathering Profession)
GTA V Ultimate PC Guide: Make Over $300 Million with the Stock Market Trick
Marvel Contest of Champions: Combo Strategy, Crystal Advice, and an Early-Build Review
Dark Souls 2 Titanite Guide: Shard Types, Prices and the Best Farming Spots
How to Earn S-Ranks in Metal Gear Solid V: The Phantom Pain