My problem with this is that you are forcing her to hermie. That could potentially be a trait that is passed on.
Uhh... It doesn't... Stress isn't creating a genetic trait, lol. It's just stress. By punching someone in the nose, you are not turning them into a hemophiliac (you're just making them bleed). Now... if you have a decent-sized breeding population, initiated a program of stress, and spent a few - several / the more, the better - (plant) generations picking out the plants that create opposite-sex flowers quickest and easiest, and use only those to produce the next generation... rinse/lather/repeat... Then you are selecting for a trait.
Many female cannabis plants will eventually produce a male flower (or ten) if allowed to continue flowering long enough (without being pollinated). Based on my limited experience, I would even postulate that most will. With some especially long-flowering strains, the term "eventually" is somewhat unnecessary - I have noticed it in strains which have a 16+ week flowering period. A male flower here, a male flower there... Pretty soon (okay, that's a relative term when your plant must flower for over four months, lol) the question stops being "Is it going to seed?" and becomes "I wonder how many of these buds will have %@#^ing seeds in them this time?" That's one way that a monumental strain can get lost; people decide that growing them just isn't worth the hassle, ditch the mother plant (or breeding pair of male and female)... and find themselves wishing, a few years later, that they hadn't turfed the champion(s). Then they ask their friends who all got cuts (and/or seeds) if they can have one(/some) back, only to learn that no one else kept the strain, either. At least... <COUGH> a little birdie told me that happens....