Yes.
To "doeth' righteouness" as HE IS RIGHTEOUS>...""
Not as YOU TRY TO BE ...
This is John explaining 'HIS Righteousness"....= GOD'S= ...this is to be "In CHRIST"..... "born again", so from THAT Righteousness, that is "The Gift of Righteousness", we then "present our body a living sacrifice" because we are "made righteous" already. = "In Christ'.
We can't "DO" righteousness, as righteousness, is not what you DO>.......its what you BECOME, that is the SAME as GOD's Righteousness. = Born again.
Here is how to see it.
Before you are saved..... you can be a good person........Honest., but that is not "righteousness", that is just self will, self effort to be good.
After you are born again, that same effort to be good, is same as it was, before you were born again.
See, Being Born again, does not make your efforts to be good, any good. They are still just your works....They are not righteous.
Its God's Righteousness that makes you Righteous....... having become as born again.."The righteousness of GOD, IN Christ".
"Imputed Righteousness"......Is "HIS Righteousness", given to us as "The GIFT of Righteousness".
You can't "DO"That........ and that is why God has to give you .. "The GIFT of Righteousness", as it can't be DONE, it has to be RECEIVED, as its a GIFT.
And by becoming born again, you have RECEIVE the GIFT of Righteousness, that is :
"HIS Righteousness".........that you see in the VERSE.
that is not you doing it.
That's you receiving "HIS"....
This is to be 'MADE Righteous".......as "all have sinned" and have none of our own.