Yes, if you have more than one spare bedroom, you can rent them out, but bear in mind that if you rent to three or more tenants who are not from the same family you become a house in multiple occupation (HMO), which has stringent licensing rules.