In theory, yes. However, it is a recent law that you should check a person’s immigration status before leasing a room. Checking that they have the right to live in the UK is a law which the Government imposed on private landlords in December of 2014. Visit gov.uk for more information on the right to rent.