Yes—but with a caveat. If you mean standard municipal street trash cans, they are rarely designed to fold flat. Public bins are usually fixed, heavy, and built for durability, capacity, vandal resistance, and easy emptying, so folding mechanisms can add weak points and invite damage or theft.
That said, foldable and collapsible urban trash cans do exist in more specific situations. You’ll see them as portable event trash cans, temporary market bins, festival waste stations, pop-up park bins, and space-saving outdoor waste bins for small urban spaces. Many use a fabric or plastic body with a metal or plastic frame, and they collapse when empty for transport or storage.
For permanent streets, a fold-flat design is still niche because it may be less stable in wind, harder to secure, and less suitable for heavy daily public use. But for temporary urban setups or storage-sensitive spaces, collapsible public trash bins can be a practical option. So the short answer is: yes, they exist, but they are more common for temporary and flexible urban use than for standard city sidewalk bins.