Exactly.
In the following Jesus speaks to the first question: Can an individual continue to commit sin and receive eternal life?
John 8
34Jesus answered them, “Truly, truly, I say to you, everyone who commits sin is the slave of sin.
35“The slave does not remain in the house forever; the son does remain forever.
31So Jesus was saying to those Jews who had believed Him, “If you abide in My word,
then you are truly disciples of Mine;
32and you will know the truth, and the truth will make you free.”
51“Truly, truly, I say to you, if anyone keeps My word he will never see death.”
In the following Jesus speaks to the second question: Can an individual continue to commit sin and receive the holy spirit?
John 14
15“If you love Me, you will keep My commandments. 16“[And] I will ask the Father, and He will give you another Helper, that He may be with you forever; 17that is the Spirit of truth....
21“He who has My commandments and keeps them is the one who loves Me; and he who loves Me will be loved by My Father, and I will love him and will disclose Myself to him.”
23Jesus answered and said to him, “If anyone loves Me, he will keep My word; and My Father will love him, and We will come to him and make Our abode with him. 24“He who does not love Me does not keep My words...
Unfortunately there are many who neither hear nor understand nor believe what He is saying.
John 8
43“Why do you not understand what I am saying? It is because you cannot hear My word. 44“You are of your father the devil, and you want to do the desires of your father. He was a murderer from the beginning, and does not stand in the truth because there is no truth in him. Whenever he speaks a lie, he speaks from his own nature, for he is a liar and the father of lies. 45“But because I speak the truth, you do not believe Me.