Hi, Yes, you can. I do it all the time. Plants such as parsley make great edging plants for flower beds and many herbs are just as attractive as annual foliage plants. For example, basil is a great looking herb that is at home in the flower bed. Other good flower bed herbs include thyme, sage, chives, and lavender.