Its possible, but it happens anyway.
I believe a lot of the hermie's come from making feminized seed with strong chemicals like STS but that's not proven,most say you don't want to stress too, as that can cause them to hermie, like high heat interrupted light and dark cycles under watering...