It can; in fact, women need to be careful when they wipe that they wipe from front to back. Stool can contain significant amounts of yeast. And I’ve noticed with stool testing, for example, when stool can be cultured; in some cases we can find quite a healthy live yeast population in the stool. So stool certainly can contain live yeast and it’s one key way for women to transfer Candida albicans from their rectal region to the vaginal region. Bacterial vaginosis is also very commonly occurred this way through fecal contamination.
So to answer that question, yes it can be transferred. So care needs to be taken with personal hygiene.