It is legal to turn a living room into a bedroom, but there are some important considerations to keep in mind. For example, if you are renting your home, you may need to get permission from your landlord before making any changes. Additionally, you may need to obtain a building permit if you plan to make any structural modifications to the space, such as adding walls or windows.