Can I sue a rideshare company if I’m injured in an Uber or Lyft accident?

Can I sue a rideshare company if I’m injured in an Uber or Lyft accident?