No, it's not. It's the old difference between operating privilege and logging flight time.
"IMC" is cloud clearance and visibility less that thay required for VFR flight in accordance with the rules of that airspace. And, of course, one cant' operate as PIC in those conditions without an instrument rating.
OTOH, for logging instrument flight time, here's what the FAA Chief Counsel said in 1984:
"Actual" instrument flight conditions occur when some outside conditions make it necessary for the pilot to use the aircraft instruments in order to maintain adequate control over the aircraft. Typically, these conditions involve adverse weather conditions.
...actual instrument conditions may occur in the case you described, a moonless night over the ocean with no discernible horizon, if use of the instruments is necessary to maintain adequate control over the aircraft.
That "moonless night over the ocean with no discernible horizon" can easily occur with a 12,000' ceiling (or no ceiling at all) and 100 miles visibility. There are also multiple visual illusions we are susceptible to as pilots which, IFR or VFR, can lead to severe spatial disorientation.