Joining it somehow with the apartment would facilitate this, otherwise how do you get kitty to go in?
They aren’t small cages. The ones I’ve seen available are a good 8 feet high and 6 feet wide and ten feet long.
If you’re on the top floor of an apartment like that, I think it would be something good for the cat.