You can grow them indoors fine, as long as there is enough light. Usually unless you have a grow light setup there isn't really enough light for a fig tree. They need direct sunlight to thrive. So there's no advantage to bringing a tree indoors typically.
I don't know how big the trees are that were dug up, but if they were large, as soon as you bring them inside they are going to "wake up" and start pushing a bunch of new growth. This new growth will acclimate to the light level indoors. It will not be able to do enough photosynthesis to make it worthwhile, or to produce fruit. Then, come spring, the leaves that have been indoors all winter will have a difficult time adjusting to the outdoor environment. They may get sunburned and fall off.
So maybe bring one or two small ones indoors, but if it's a big tree, I would recommend you put it in a pot in your garage. Then in the spring it will be ready to go.
On the other hand, if you have enough space and some grow lights, you can put it under the lights with a timer to get 16 hours of light per day. Still might get too large to contain indoors, depending on size, vigor, etc. Grow lights are only effective if the leaves are very close. So if you have a fig tree with branches that are growing 3 or 4 feet high, it is difficult to get enough light to all the leaves.