Holy Toledo, am I confused- and I am a CFII. Although I will admit it’s been a very long time since I did any instrument instruction in small airplanes.
The OP asked what I thought was a pretty straightforward question.
He or she wanted to know if they, as a non-instrument rated pilot, can log PIC time while manipulating the controls of an airplane that is flying on an instrument flight plan. Key words here…a flight that has accepted an instrument clearance.
What ensued was some convoluted back and forth about foggles, simulated conditions, cloud clearances, etc.
The only person that can log PIC time after accepting an Instrument clearance and operating on an instrument flight plan is the person who is appropriately rated for such an operation. In this case, the person who has the instrument rating- UNLESS:
IF, after departing, the flight is in VMC conditions , the non-instrument rated person CAN log PIC time if they are the sole manipulator of the controls while the airplane is operating in VMC conditions.
IF, at any time during this flight, the aircraft enters the clouds, the non-instrument rated pilot is no longer qualified to be manipulating the controls UNLESS the PIC is a CFII.
In other words, not only can a non instrument rated pilot NOT log PIC in instrument conditions, he or she cannot be manipulating the controls unless they are with an instrument rated instructor.