Yes, they can. Search engines view broken links as indicators of a poorly maintained site, which can negatively impact your ranking.