It’s interesting, because there are textbooks that say the magnetic field lines aren’t real, but are a good visual of what happens when a magnetic particle is there…
Yes field lines are just an indicator of where the field is - a bit like how maps have contours showing height above sea level; those contours aren't physical things but they describe the physical environment in a schematic way.