You can generally play for hundreds of years, easily, especially if your NPR generation chance is low, something like 5%, and you have, at the very least, Star Swarm and Invaders off. Precursors aren't that big of a problem in my experience. I've done this myself, with one particular game that lasted about 250 years a few versions ago.