Yes, but why
Baby foods and snacks are specifically made to be bland and choking
As long as they are not expired, they should be safe for anyone. However, even some babies can't stand them and demand table food, so if you can, skip the extra cost and try to make regular food a little more fun. If there is a specific reason to be using them in an older child/person, might be a good ? For your dr.