One of the best things I did. My coop and my garden are side by side, separated by a 3' walkway. I planned to, and it has worked very well, connect the two in the fall by making the gates (I have 2 gates on opposite sides of the run) open in opposite directions. The garden gate opens and latches to the run, one of the run gates opens and latches to the garden fence, making a 3' entry from run to garden. The girls will have the run of the garden from fall til spring. Happy poopy chickens in my garden.
I also have two gates, one on either end of the run. Works great, I can run chicken wire to divide the run, add a dog house as temporary shelter and I have an integration/broody/hospital pen any time I need one, then roll the wire back up when I don't need it. Since the divider is internal I don't need anything heavy duty, takes about 5 minutes to set up/take down using zip ties.