No. Under Vehicle Code 23221, it is illegal to have an open container in a moving motor vehicle on a highway or public lands. This applies to both drivers and passengers. An exception to this law is if the vehicle is a hired car like a bus, taxi or limo. A violation of this section is punished as an infraction.