I actually think it would be ok with just guppies (if they're all male.. if not, then prepare for a lot of fry).
But 5gals is not large enough for 4 female bettas AND other fish. For those bettas you're going to need at least a 10gal with plenty of places for them to hide from eachother.