People repeat the myth that healthy food choices are expensive (they aren't) and time & space consuming to make (they can be) so often that most people believe it. But it just isn't so: you can eat at McDonalds every day, and if it's only a part of your diet, it's healthy. If you can get fibre and some vitamins elsewhere, and aren't overeating, the protein and calories in a fries and a hamburger are fine. Good, actually.
Healthy foods are simply principally marketed to, sold at a large markup to, middle to upper class Americans so they believe that's the usual market value.
Now, it can be expensive in time, effort and equipment for struggling, hard working, irregular shift workers. That's a different issue though.
Food deserts don't exist if you have a car in any American city since it is never that far to a suburb. (if you don't have a car getting is much much harder)
I have done the above - as a contractor working in a place a significant distance from home on a short term job. There were a lot of people like me in the cheap hotels I was staying at. OTOH, none of us were homeless - the homeless generally have other issues making them homeless and so even though that options would be cheap and work that doesn't mean they would be able to do it
There's at least one benefit to China dumping solar cells and other stuff all over the world: even as a homeless person... at least as long as you got a car, an EcoFlow Glacier and a shit solar panel are less than a grand, and it provides both a refrigerator, a small freezer and a way to keep your devices charging.
But that gear would have been infeasible even ten years ago - the status quo outside of luxury campers for six figures was absorber refrigeration [1] that needs a heat source - either powered by natural gas, which has challenges relating to safety as well as high consumption, or by electricity, which was lead-acid batteries back then.
The power density of lithium cells today is what makes that possible in the first place.
Poverty-homeless people however are a different thing, agreed on that. If you don't have a lockable place to store stuff you might as well have nothing at all...