Not a practical idea.
Smoke is basically tiny particles suspended in the air along with various gases and vapors. Left in a closed container, the particles would stick to a surface. Vaporized THC would condense and mix with the smoke "dust". You would be getting a smoke condensate, not pure THC, from the bottle. It would take quite a while to build up a sufficient amount- think of the volume of actual solid matter in smoke! There just isn't that much there! And how would you remove the condensate? Alcohol? A specially made scraper? And frankly, I think it would taste much like "resin" scraped from a pipe!

OK, I shot down your idea, so I'll give you one of my hare-brained ideas in return. This wouldn't be too sanitary to use in a group, but for a solitary toker...When you toke, a certain percentage of THC is expelled when you exhale. Blow the smoke through a container full of vodka. I see something that looks kind of like a round-belly tea pot with the spout attached near the bottom. You exhale into the spout, the smoke goes into the vodka (THC is quite soluble in alcohol or oil). Sort of a reverse hookah. Eventually, you'd evaporate the vodka.

You aren't the only one who gets oddball ideas! I get my share- what about the rest of you? Vaporizers were a wild idea when I started toking.- Granny