You can put a dresser in front of a window, provided it is the correct size, and it doesn’t restrict the amount of natural light coming into the room.