Yes, you can wear earrings while taking photo for your passport, but make sure they are not so big that they cover any of your facial parts or edges. Big size jewelry often hide face parts.