Depends on the circumstances. Sometimes in really old buildings, changes to the layout are made at some point, and then you are left with some old door somewhere where no door is needed anymore, so you just seal the door shut and leave it in place. In that case, it would be no big deal to put a bathtub there.
Call me humorless if you want (you wouldn’t be the first), but my reaction would be seriously pissed off.