Does your sofa fold out as a bed? If so, how close is the bed to the wall then? If it is still 6" away from the wall, there's no reason you can't move it.
Our original couch was about 4" out from the wall. When I installed a new couch, I bolted it in so that when it was opened up to be a bed, it actually lightly touches the wall. When it is closed back up into a sofa, the back of the sofa is about 1/2" from the wall.
Jim & Kate
2016 Creekside 23RKS, 2014 Ram 1500 Eco Diesel
1995 Monaco Dynasty 36', 2005 Honda Pilot