Yes, a supplier hired by a subcontractor can file a mechanics lien in California. Of course, a supplier will only be able to file a mechanics lien if they send the necessary preliminary notice early on in their work.
For more discussion on California's mechanics lien and preliminary notice rules, the resources below will be useful.
- California Mechanics Lien Guide and FAQs- California Preliminary Notice Guide and FAQs