No, forcing flowering to determine sex, then reverting to vegetative growth stresses the plant, delays the eventual harvest and causes the plant to stretch unnecessarily.
The better course is to either flower numbered clones or to observe preflowers in vegetative growth.