Indeed, from the linked page (although I prefer the version with any):
The phrase "Tom, Dick and Harry" is a placeholder for multiple unspecified people; "Tom, Dick or Harry" plays the same role for one unspecified person. The phrase most commonly occurs as "every Tom, Dick and Harry", meaning everyone, and "any Tom, Dick or Harry", meaning anyone. The masculine names in these phrase do not in themselves imply exclusion of females, but use of either version when the context implies necessarily being female − for example, "Your mother could be any Tom Dick or Harry" − would normally be seen as careless or ironic.