Sure you can do it. All you have to do is vacation there for two or more years to obtain residency, get a doctor, and have him assure, by signature, to the state of California that you have a medical disorder or chronic pain in which you must have marijuana prescribed to you.