Quite a few, actually! The most popular tend to be lucario and members of the pawniard line, as these tend to be calmer and more personable than other steel-type pokémon (even though pawniard and bisharp are more social and aggressive than lucario). Togedemaru is also rather popular due to its cuteness and relative ease in care, and the next most popular after these species would be mawile, which is cute but rather mischievous and difficult at times. Rounding out the most popular choices is klefki, which is popular not only for their inability to evolve (meaning they will always be small and easy to manage) but also their ease of care and their ability to hold onto your apartment keys no matter where you go.
Of course, the more obscure choices fare just as well as apartment pets. For example, some people like to collect bronzor or honedge, not only because they’re not at all difficult to take care of (they need very little besides exercise and a place to rest) but also because they tend to double as fantastic apartment decor. (They don’t even seem to mind all that much. Bronzor in particular prefer to literally hang about an apartment and will be perfectly happy being a conversational piece.) The only danger in keeping these two is that they must never evolve. Bronzong, for one, are large and heavy, which causes trouble in small apartments. Doublade and aegislash, meanwhile, aren’t that much larger than a person, but they can be rather aggressive towards anyone who isn’t their trainer. If you live alone, you might still be able to keep a doublade or aegislash, especially if you’re rather introverted, as they make excellent watch pokémon. However, I would not recommend keeping them otherwise.
Aron, meanwhile, are very much like armored puppies, but unlike honedge and bronzor, they can’t simply lie about the apartment. Rather, they must be cared for like any other active pokémon, with food, water, frequent shining, and exercise. Still, if you can manage this list, then they’re wonderful companions … so long as they never evolve, either. lairon and aggron are even worse apartment pets than bronzong, doublade, and aegislash and should never be kept in any home that doesn’t have enough room for a literal tank. Shieldon is much in the same, except it’s extremely difficult to obtain one, so it’s less popular a choice than aron.
Finally, there’s durant. Durant are manageable, but they come with two setbacks. First, durant are highly social pokémon and fare best when placed in a nest with other durant. Unless you’re willing to raise a full team of six durant, it may be difficult to maintain the psychological health of one. Second and more importantly, they have a tendency to utterly destroy wood, so if your apartment has wooden floors or walls (or furniture), durant is extremely difficult to control.
The others, unfortunately, are often too big, too unwieldy (in the case of ferroseed), or possess strong magnetic abilities that may interfere with your neighbors’ electronics (klink, beldum, and magnemite), so they aren’t pokémon I would particularly recommend for small, shared spaces.