Of course! 2nd hand pedals are the way to go if you want to save money...
Most pedals are built very well, even mass produced reliable brands such as Boss, Ibanez. They do not spoil easily. The only downside of buying 2nd hand is you may be buying a pedal that has passed through many hands, and its outward appearance has degraded.
The best part about buying 2nd hand is, if you do not like the pedal, or plan to upgrade or for whatever reason you want to get rid of it, you can sell it at a very minimal loss, or sometimes even at a profit! If you were to buy first hand, you WILL have to sell it at a much lower price, and its almost impossible to get a profit, unless in some very special circumstances (e.g. long wait lists)