There are 54 Glock models that are certified for sale in CA. Almost 1000 models from all manufacturers are certified. Plus private party transfers are legal, meaning you can just bring one in or have a friend give you one.
It would be even better if the mouthpiece was at the barrel and the trigger activates a built in lighter near the bowl piece. Maybe make a vape version as well where the barrel is the mouth piece and the magazine is the chamber.
I'd advise against that for muscle memory reasons mostly.
But more to the point, this looks like it was designed to be a functional gun and a functional bong. Probably not a good gun or bong, but it does both.