While sleeping on the floor is good for your back, laying on your stomach may be rather harmful. The position presses your spine’s joints and muscles, and also forces you to turn your neck which can be harmful. The best position when sleeping on the floor is to either lie on your side or back.