The broad response is almost always "yes"; You should stick your vanity on the wall. There must be no space between the wall and the back of the vanity. It works to hide and protect your plumbing.