Your tech levels establish the baseline for your player profile. Techs influence how your profile interacts with the rest of the game engine. Therefore, it is next to impossible to modify the game engine to allow an upgrade to a research lab while a tech is being built. Shipyards have no such affect.