Yes, as long as you aren’t assigned all of the blame. California has adopted a pure comparative negligence law. Anyone who contributes to an accident shares responsibility for the consequences. If you get hurt, your damages are reduced based on your share of the blame.