I do it nature's way. I only grow them outside.
I pluck sage, rosemary, thyme and parsley all year from the garden.
Coriander lasts reasonably well in the cold frame, but at some point it dies down, so I freeze a few bags before the plant flowers. The same with chives.
Marjoram dies down outside, but early summer cuttings in the cold frame stay very bushy and green all winter (I grow them in seaweed, which they absolutely love).
Basil does fine against my south wall between June and September, and even better in a cold frame. I plant about 25 pots, one per pot, and freeze it . It tastes good with flowers on, but better without.
Those supermarket products are stressed plants. somebody scatters too many seeds in a pot, causing over-crowding, and then the poor things are stood under growing lamps 24 hours a day so they can shift them on as soon as possible. Ugh.