Yes, but it's tough on the plant and stresses it out. Some say it can cause the plant to go hermy on ya.

Widow
EDIT: it's best to take clones off of your vegging plant, then flower the plant. If it is not a female, toss out the plant and the clones. If it is a female, continue to flower and you know that your clones are female - so just continue to veg them until they are the height that you want and flower all but 1 or 2. Those you keep as mother plants and just take clones from them every couple of weeks.