If you only want a few males, no females for breeding, you could indeed get by with a 5 gallon tank. They are almost as long as a 10 gallon for swimming room and could easily house 5 or 6 male guppies in comfort if you have a properly cycled filter for them.