That's a great observation, and yes, absolutely! Many urban trash cans, especially those placed in city centers, near building entrances, in parks, or at public transport stops, do come with built-in ashtrays on top. It's a very common feature in modern street furniture design.
Typically, you'll see a small, circular or rectangular metal dish attached to the lid or the upper part of the bin. These are often filled with sand or have a fine mesh to safely extinguish cigarettes. The main idea is to provide a designated place for smokers to dispose of their cigarette butts, preventing them from being thrown on the ground or tossed into the regular trash where they could pose a fire risk.
This design tackles two big issues: it reduces litter (cigarette butts are one of the most common forms of litter worldwide) and helps prevent potential bin fires. So next time you're walking downtown, take a closer look at the public bins. You'll likely spot this practical add-on. While not every single trash can has one, they are a standard solution in areas with high foot traffic to encourage cleaner streets.