5 gallons is a great size for a Betta tank. I wouldn't look to go smaller, though. Since you mention making a habitat, you might want to go with a 10 gallon. There are WAY more options for designing the tank, the larger you go.
Once you decide on tank size, it will be much easier to come up with ideas.
forum community dedicated to tropical fish owners and enthusiasts. Come join the discussion about species,breeding, health, behavior, aquariums, adopting, care, classifieds, and more! Open to fish, plants and reptiles living in freshwater or saltwater environments.