It depends on what you mean by infinity. In mathematics, you can treat infinity like a number so long as it is meaningful to do so. If you mean physical infinities, there are many results in physics that require adding terms that are infinite to get something finite.