As long as they all fit in the instant pot and the ice bath, you can do as many eggs at once as you’d like. Ensure they’re all roughly the same size so that they’ll take the same amount of time to cook. The more they touch each other the higher the risk of cracking so keep that in mind and factor in some breakage.