I had a colleague at a previous job who was living in a boat. He once told me tnat the costs to rent a place in the harbour, to maintain the boat and the utilities were about 400 euros/month, which is about the rent he'd pay for a small studio in Barcelona. The rents arec cheaper there but maybe in New York or San Francisco one can save lots of money like that.