In accounting terms it’s not an investment it’s an operating expense or in your example a personal expense, but if you leased a property and operated a business (ie an AirBnB for an apartment) it could be considered as part of an investment as it’s a means to make a profit.