Yes, the sodium alginate and soy lecithin used for spherification and foams are entirely edible food-grade ingredients. As with any cooking, it's important to use sanitary practices when preparing molecular cuisine.