The basics of foundation meditation can be used to breath in solar or lunar energy or fr any star if one wishes. I have found breathing lunar energy into the 3rd eye as well as the extensions for clairaudience and clairvoyance helps with dreams and astral sense, and solar energy wake you up as well as is good for empowering the solar chakra specifically or any other even, while also being good for cleaning chakras and aura all around. The seed mantra surya is from the sun.
I would not breathe in energy from other people, or try to as you don't know where they have been or what they have attached to them most of the time. It's like getting mono or the flu because you ate or drank after someone. Yuck.