Yes. And usually these factors are controlled for when picking your study's sample.
https://www.statisticshowto.com/matched-samples/
"All factors held equal" doesn't mean the different factors are equal in effect, just that the sample is chosen such that the other factors are identical across the two groups.