Of course you can, but I want to say that getting them for achievements is much more fun, that's the point of the game. But if you're desperate to get some rare or highly coveted items in TF2 but can't find a way to do it, the only way out and the easiest way is to buy them here https://tradeoffers.tf/orders/440.