Yes, you can move plants indoor to outdoor and back in to control the light cycle, just beware of pests and know that you are running a risk of introducing them into your grow room which can be a battle to fix.
Some people say that you shouldn't move the plants out of fear of stressing and possibly inducing hermie, but I have never experienced this. I have only had one hermie and have never had one from a quality strain. I will say that if you are going to be moving the plant and changing the light cycle you need to be consistent and avoid interruptions to the dark cycle, because that will greatly increase your chances of hermies.