Yep you can give them baby food...we've used baby food to hide meds in for rats / mice / hamsters in the past
Our hamsters have loved mealworms (not too many as they're fatty), sunflower seeds, plain popcorn, porridge oats, scrambled egg, kale and peas!