I did a thought experiement of what it would take to make a 'universal' TTL chip, which was basically a 14 pin, 16 pin, and 18 pin device where all 74xx chips were actually inside of them and through a programming step you bonded one of them to pins on the lead frame. It required a 90nm or better feature size. The trick was you only have (number of pins) number of input stages and output stages (all the "TTL" part of TTL (these are fairly large by their nature). The logic was all internal 1.8v with a simple step down regulator to go from 5V down to 1.8V.
You could cover both the SSI and MSI catalogs. Of course there isn't anyone designing new stuff with TTL any more so it remains a thought experiment only.