Short answer: yes, but not the kind you usually see bolted to a city sidewalk. If you mean permanent urban litter bins, most are rigid metal or heavy plastic because they need to survive weather, vandalism, daily collection, and public use. A bin that folds flat is convenient for storage, but those hinges and fabric or plastic panels can become weak points in a busy street setting.
That said, fold-flat and collapsible trash bins definitely exist for urban-adjacent use. I’ve seen pop-up bins, accordion-style waste containers, and flat-pack event bins used at farmers’ markets, festivals, apartment common areas, temporary construction sites, and outdoor gatherings. They’re great when you need extra waste capacity for a day or a season, then want to fold everything down and tuck it into a closet, van, or storage room. Many are made from heavy-duty oxford fabric, coated nylon, or collapsible plastic frames, and some come with lids, handles, and separate recycling sections.
For a real public street, though, I’d be cautious. Check capacity, weather resistance, pest control, and whether your collection truck can empty it. A foldable bin can be a smart temporary or semi-permanent solution, but for a permanent sidewalk bin, a rigid, lockable, standard-size litter bin is usually the better buy. So: yes, fold-flat urban trash bins are out there—just match the folding design to temporary or light-duty use, not heavy municipal street service.