Yes, sanding a floor can help to remove scratches. Sanding is often the first step in refinishing a hardwood floor, and it can be used to remove scratches from the floor's surface. The process requires starting with a coarse-grit sandpaper and gradually working up to finer grits, depending on how deep the scratch or damage is.
This process removes the top layer of the wood, taking the scratch with it and leaving behind a smooth, even surface.