Yes, though Steam may go to lengths to prevent games on their platform from having the same name.
Edit: this apparently happened with Prey 2007/2016, and resulted in two games installing to the same folder.