Maybe not individually, but according to my utility they do know where they are purchasing electricity from, at the county level. From PG&E’s FAQs on the CleanPower SF program:
California law allows cities and counties like San Francisco to pool the electricity demand of their residents and businesses, and purchase electricity on behalf of those customers. These programs are called Community Choice Aggregation (CCA) programs.