Probably, but likely cost and time prohibitive due to extra equipment, time spent per participant, limited hours to study, and potentially more variables to account for (pedestrians, variations in lighting, …).
Also, would you as a researcher trust randoms to return the highly expensive equipment that is rented out in your name? It adds an additional element of risk. Plus, if a person is directly supervising the ownership of eye tracking glasses (ie, researcher always near participant), then wouldn’t that invalidate the reason for the study (how do people perceive area WALKING ALONE at night)?