B6 is good for the body keep it full of energy. If you sleep while taking B6 you may find yourself a little more awake while sleeping. I am not sure that it helps with astral projection but I think that it might. By the body being in a slight wake faze the mind must be as well. Trying to stay awake while your body fall asleep is sometimes a little difficult but it can work. When this happens you may either rise out of your body or just lay there.
The answer I suppose is that for some B6 may aid in someone doing astral projection.
God Bless