I agree with your summary in theory, but question whether any of the Traders and Gunboat Starship designs seem to particularly lend themselves to the sort of modular construction that you are talking about.
So it seems to me that shipyards 'COULD' function like that, but none of the classic ships 'WERE' made that way.
YMMV
If not modular, then at minimum, standardized.