Yes. You may log instrument time as a condition of flight, in accordance with 14 CFR 61.51(b)(3). Conditions of flight apply regardless of weather you are PIC, or SIC, or the rules under which the flight is operated. You may not log approaches or landings which you have not performed, for currency.