There are certain algae that are edible and can be grown with a small amount of electricity and sunlight. I'm not sure how much volume you would need to support yourself but if you're walking all the time it would probably be more than you could carry.