Not really. Small snakes actually are some of the hardest to keep in captivity. They are far too high stress.
:) Wait for a $1 dollar a gallon sale and pick up a 20 gallon long for 20 bucks, or get one on craigslist. Make sure you get a lid and lid clamps to lock the cage(they are escape artists) A 20 gallon long is perfect for a corn snake!
Snakes generally need heat too, and reptile heat pads don't have thermostats on them, so you'd had to buy one yourself. Setting up a snake is expensive, but afterwards it pays off as it's cheap in the long run. A snake can live for 30 years! I know a 28 year old ball python. :)
Don't worry, be patient. Save up birthday money and christmas money. Spend this time doing research on the snake you want. It takes a long time of research to be ready for a new animal. Look up care sheets, figure out what color pattern you want, and find breeders near you. :)
The cheapest way to do a snake setup is with a large tub, but most people don't like that, because it's hard to see them! They are so fun to watch, too. But if you don't care and just want them comfortable(they don't mind as long as it's big enough!) it works! Our ball python is in a tub as he is a wild caught male and a very highly stressed boy. He likes to hide away in the tub where no one can see him.
Edit: let me look up kenyan sand boas, I forgot they are small but easy captives, I'll get back to you. Pretty sure 10 gallons is minimum though, but that's just 10 bucks.