Yes, it can be done. To install a pocket door on an existing wall, professionals create a wall cavity along the side of your walls to accommodate your wall frame. However, walls losing their integrity might need to be replaced already.