Yes this is possible in various ways, in most cases this is done with a rental agreement for a definite period of time. Read more about temporary letting here.