Removing the foot=no tag is acceptable only if there is no road sign on the ground that prohibits pedestrians.
Otherwise, this edit goes against the fundamental principles of good practice. 

See https://wiki.openstreetmap.org/wiki/Good_practice#Don't_map_for_the_router