Yes.
Well, it depends. If you pushed them back to their spawn, no. If the enemy still had a good number of players outside of spawn when you got there, yes.
Spawn camping's a jerk move, guys, especially when there's only one spawn exit. It doesn't matter if you can break a spawn camp or they would be able to break it if they were a better player or whatever. It ruins the game for a lot of players and is pretty cheap besides.
Doyle Brunson put it best: "Be highly competitive... but do it with class."