Agreed the laws tend to be a little vague but i think the main factor is if you are growing with the intent to distribute or if its for personal consumption.
As for using smart pots as a semi raised bed, its been done before i think theres a couple of cali growers on here that have some 100 gal...