Yes, you can. You will need to speak to your landlord to inform them about your plan and to get their permission.