Yes. You can sue a company for harassment. But the path you take depends on a few things. Do you work there? What kind of harassment happened? Did you file with the EEOC first?
There are three main situations:
1. You're an employee, and a boss or coworker