it will grow, but stretchy it will grow and it might even do ok. But some strains need more direct sunlight, and if they don't get it, they will stretch a lot during vegetative stage. And in flowering the buds will grow loose and airy, and it might take longer to finish.
Ive tried this once by mistake and it sucks dude, takes forever to mature. Like link said the buds will suck they will be lighter than air. I had a 7 foot plant and maybe for 1 1/2 ounces off of it... Go with direct sunlight!