IMO i'd get a tub first. they're very easy to maintain and will be more forgiving with dialing them in and maintenance. with this you'll be able to learn and understand proper husbandry.
then once the snake gets bigger you can absolutely upgrade to a tank. the husbandry is a little trickier but by this time you should know husbandry well enough to get the job done. however if you want to go with the aesthetic of a glass enclosure then go for it, but be prepared for a little more difficult set-up.
but going back to what @PythonBabes said: i'd get permission before buying anything.![]()