Yes. NVFR are the flight rules you're flying under, instrument flight relates to the conditions, including being under the hood.
Where people start to disagree is logging IF when flying into the "black hole", i.e. a completely dark night with zero ground lights or external reference to attitude, but still VMC.