Is there consensus on mapping pavements (sidewalks) separately to roads?

Only to the same extent as mapping any roadway or pathway as a linear feature. Mapping pathways as lines isn’t equivalent to mapping an informal shortcut. It also shouldn’t dissuade anyone from also mapping pedestrian plazas, running track multipolygons, and roadway and footway areas so that, say, a pedestrian simulation game could take the path less traveled.