Not in rocky bodies, except maybe for Oxygen (which is commonly found in the form of oxides, very rarely as a gas). Carbon and Nitrogen and Hydrogen and similar elements are mostly found in gas clouds and star that are not really conducive to any form of life or even really fit for extraction by a probe. Maybe some gas giants could be targets for a process of this kind?