Answer: No.
Explanation:
For those fatalities to be comparable, the data produced should provide the number of fatalities per pedestrian as well.
Statistical data used in research is part of a bigger picture denominated the population. If City B has fewer pedestrians, or City A has more, the explanation to that difference in fatalities has nothing to do with city B being safer, but with being less populated with pedestrians.