Yes—many urban trash cans do come with built-in ashtrays, or at least with some kind of integrated cigarette disposal feature. They’re especially common in high-traffic public spaces such as downtown sidewalks, transit stops, parks, plazas, and outside office buildings. In practice, you’ll usually see them as combination street furniture: a trash bin with a small ashtray plate on top, a side-mounted cigarette tray, or a hooded smoking receptacle attached to the unit.
Cities tend to choose these designs because they help keep cigarette butts out of the regular waste stream and off the ground. That cuts down on litter and can also reduce fire risk when smokers would otherwise stub out cigarettes on or inside a paper-heavy bin. The better models have separate metal ashtray inserts, restricted openings, and easy-to-empty trays, so cigarette waste stays contained and the main bin is easier to service.
That said, not every urban trash can has one, and built-in ashtrays are not maintenance-free. If they aren’t emptied and cleaned regularly, they can overflow, smell, or look burned and neglected. So the answer is yes—they’re a real, fairly common product category—but their quality and upkeep vary a lot from city to city.