The parent link has a link to a list of papers[1] that answer this question in the affirmative:
For example, "Professional and Home-Made Face Masks Reduce Exposure to Respiratory Infections among the General Population" [2]
It's also worth noting that many people with COVID-19 are asymptomatic, so wearing a mask, even a homemade one, could reduce the spread to other healthy people.