I believe it is possible but will cause a shock period of 2 weeks or so. Also due to light change may turn hermi and than you could get seeds. There are many alternatives to sexing without flowering the entire plant. Like taking clones, and either letting them root and than put into 12/12 or straight into 12/12. Personally I would not do what you are suggesting. Some may say it is perfectly fine and others the opposite. I would think alot of it has to do with the gentics of the strain. Plenty of info here on RIU about your question.