is it acceptable to for legs to spin backward

I have noticed some clients spinning backwards in cylcle class. Is that safe?