Sure, as long as you can provide a sustainable supply for the snake. Ball pythons are notoriously picky eaters, and would possibly become fixated on gerbils as a prey source. If you are going to do it, just make sure you can provide gerbils for the rest of the animals life if necessary.