Are you planning to stay in that apartment for a few more years, or is this a shorter-term situation?
For a small apartment, tankless could make sense if you stay put. The main appeal is that you'll reclaim closet space and potentially cut energy waste since you're not heating water 24/7. Most people see energy savings, though they're usually modest - maybe 10-15% depending on your usage patterns. The upfront cost is steeper than a tank replacement, and since you're renting the space, you need to check what your lease allows and whether you can take it with you if you move.
The real catch is installation. Some apartments have gas lines and decent water pressure, which makes tankless simpler. If you're all-electric or have low water pressure, you might need upgrades that eat into savings. Also, tankless heaters take a few seconds to warm up - not a dealbreaker, but worth knowing. If you're only staying another year or two, a basic tank replacement is honestly the smarter move. But if this is home for the long haul and you can handle the upfront expense, going tankless does solve your storage problem and cuts your energy footprint.