As long as they are not requiring you to do it because of your sex, race, religion or other protected class, yes they can do it.