If the pot size is suitable for the given plant, there is no reason for a potted plant to not grow identical to ones planted directly in the soil.
However, the qualifier here is the word suitable. Roots of many plants go meters to tens of meters deep when mature. If such a plant is potted in even a relatively large pot of a meter depth, it is not likely to attain its full potential. This is because its root will run out of space to grow, and thus limiting the growth of its overground parts. On the other hand, herbs, many of which are perennial or biennial, have shorter roots and will flourish identically in pots.
Ultimately, it depends on what the gardener wishes to achieve with the plant. The gardener may be interested in flowers or fruits, and in such cases it may be even desirable to have a plant of smaller size, as many flowers or fruits of a large tree would be out of easy reach. Big plant species are potted in small pots as part of the process to create Bonsai, where the goal itself is to make a small plant. Home gardens are almost always constricted of space, and in that case, potting plants is the more sensible choice. As mentioned before, potted plants are easier to manage, and their flowers and fruits are within reach of the gardener's hands.
In your particular case, as you are interested in mostly herbs, potting them instead of planting them directly in the soil is completely sensible and may be even desirable. Because it is also easier to clear weeds from around potted plants compared to from the open soil.