Nah, it is pretty clear that Russia goal is control of Ukraine. The only role membership in NATO play is that if that theoretically happened, it would be harder to attack Ukraine later on.
And there was no immenent threat of Ukraine entering nato anyway. This is just Russia using it as excuse.