Well, where do I start.....
Using light to cause enough stress for a plant to make pollen sacs is not really a good idea. Then you are getting pollen from a plant that stress easy. Do you really want a garden full of plants grown from seed whose parents stress easy? First light leak or timer failure and your shooting nanners everywhere. Selecting a parent because it stresses easily is selective breeding at its worst.
But,...
The use of chemicals such as CS or TM is different because it's not causing a plant to hermie. How it works is by suppressing the female flowering hormone, ethelyne. When a plant or branch is treated with one of these chemicals and the ethelyne is suppressed , it has no choice but to make pollen sacs. Therefore the plants DNA is unchanged, only the flow of hormones. Without interference from us the plant would not have made pollen. It was left with no choice. So if hermaphroditism is not in the DNA it will not be passed on. If you use pollen from a plant whose DNA stresses easily into herming, then herming easily will be past on to the offspring.