Can you buy pentobarbital to help sleep, over the counter?

No. Pentobarbital is highly dangerous, and is even out of practice with most anesthesiologists. I believe it may even be on limited production. If you're having sleep issues, consult with your doctor or a specialist on the matter.