Yes, you can.

Local California laws usually require dog owners to keep their dogs on their property or on a leash; and, to this end, if a loose dog causes a serious bicycle accident, the dog’s owner is liable for your injuries.