Yes. People travel from the UK to California all the time; for Los Angeles to San Francisco road trip, you will be allowed to rent a car using your UK license. However, do read the rental voucher for the complete list of documents that you are supposed to show at the time of the pickup.