I've effectively done this with some photos outside,
because I'm sub-tropical, and my natural light cycles are close to 12/12.
Different strains will take different length of time to show sex / flower.
One Northern Lights took about ... 4 weeks (IIRC).
A few Mandala Safaris took about ... 3-4 weeks (IIRC).
This season I took some F2 of the Safaris (the above are already F1),
and they are taking maybe 3-4 weeks as well, effectively.
So, yeah, can do it. Of course, yield nothing like vegging big for photos...
If you want some better grows to check out,
Sannies Seeds (Google it) has some.
In particular, Sannies Jack (Jack Herer bred out to F7 or F8 or something now),
he grows them often straight from 12/12.
He's trying to breed for from seed SoG.
And, the cool thing is, for the Sannies Jack,
and some of the other Sannies strains like Killing Fields, Silver Fields,
Shackzilla, and so on, he has info on number of plants per sq meter (10 sq ft).
Here, for 2 weeks veg, he does 5 plants / 1 m2.
And for no veg, straight 12/12, he does 9 or 16 plants / 1 m2.
https://www.sanniesshop.com/sannies-jack-feminized.html
He has similar info / data for other strains.
And check out
@islandgrower 's perpetual journal.
He's tropical too, so pretty much 12/12 all the way...