Yes. Miracle-Gro Potting Mix is safe for vegetables grown in containers, and the manufacturer’s own product page lists vegetables
If you are wondering what OMRI Listed means on soil, the short answer is this: the Organic Materials Review
The best organic potting soil for most containers is a bagged mix whose maker states it is OMRI Listed,
Looking at composite vs wood raised beds cost over 10 years, composite usually does not come out cheaper than