Ja, although not very well if you don’t get much sun at the beginning since the following days get shorter.
Because the photoperiod controls when a plant blossoms, your plant will enter its blooming cycle before it has had a chance to attain its maximum vegetative growth potential as the days get shorter. You’ll end up with a six-inch toothpick with a single tiny bloom peeking out of the top if the days become much shorter than that too soon.
MEHR: Can I Grow Marijuana Just Using Sunlight from the Window?