Yeah, if you intend to do it as easy as right and left series controling. However, the line following was proved that it is stable if you put the sensor in front the robot. But the wall followers are not yet popularly proved. And do you know how many touch sensors should be used? and where it should be put? I know that if you don't care of these, you may build a simple one. The fact that, in this case, both line follower or wall follower is the same.
**broken link removed**
Pls take a look to this page and role down the frame, you will see the line follower was solved clearly.
But to wall follower, I know a project using 2 mechanical sensors like this, but it's quite difficult. It's not as easy as line follower.