Yes, they do exist—though “completely enclosed” is usually a practical description rather than a perfectly airtight one. In many cities, public trash cans are designed with pest-resistant features such as sealed lids, self-closing openings, gasketed edges, lockable service doors, and enclosed bases. The idea is to let people dispose of waste easily while denying rats, raccoons, birds, and insects easy access to food.
Common examples include solar-powered compacting bins, enclosed hood-style litter bins, and underground or semi-underground containers with sealed lids. These designs reduce odors and overflow, and they make it much harder for animals to climb in or knock the bin over. Some models also have smooth surfaces and narrow openings that discourage nesting and foraging.
That said, no urban trash can is completely pest-proof unless it is well maintained and used correctly. A damaged seal, a propped-open door, overflowing waste, or food left on the outside can quickly undo the design. Truly airtight bins are uncommon in public spaces because people need quick, hygienic access.
So the short answer is yes: fully enclosed, pest-resistant urban trash cans are available and increasingly common. They work best when paired with regular emptying, cleaning, and repair—because pest control depends as much on management as on the bin itself.