No, California law prohibits disability discrimination, which includes firing someone for legally using doctor-recommended medical marijuana to treat a disability. However, employers can still restrict recreational marijuana use.