You mean something like a waymarked walking route as this map shows? https://hiking.waymarkedtrails.org/#route?id=12848402&type=relation&map=15.0/49.9189/5.2018
(because you don't map those with just a ref on the ways but with a relation (see https://wiki.openstreetmap.org/wiki/Relation:route)