Yes, it can. You can get rid of the stains after you get rid of the wax. Sometimes, a little peroxide or diluted bleach may do the trick. Find more tips in this how to get rid of slime in carpet guide. Slime contains dyes too!