Way cheaper than the alternative, so hell yes. A little lifehack for bachelors btw; cook in bulk. Making a week's worth of meals in one go saves you a ton of time, if you don't mind eating the same thing for several days in a row. Plus, you can always use different seasoning for a little variety, though salt and black pepper will take you far.
Also, pay heed to what they've got in the frozen foods aisle, you should be able to find cheap veggies in there. They're not particularly chemical-filled compared to the fresh stuff (at least over here), and typically come pre-cut be it wok or soup ingredients or anything in between.
And also also, best-by dates are guidelines. Depending on your gut, even slightly soured milk can be used for pancakes and the like.