An unregenerated person cannot do this on their own, it is the work of Holy Spirit, a gift from God.
I agree the Holy Spirit works with a person who hears the Gospel, to enable or empower them to confess Jesus Christ as Lord.
Grace is the Holy Spirit; the Spirit of grace.
However, this occurs when the Gospel truth is preached.
The preaching of the Gospel is the power of God unto salvation.
For I am not ashamed of the gospel of Christ, for it is the power of God to salvation for everyone who believes, for the Jew first and also for the Greek. Romans 1:16
No Gospel. No salvation.
No Jesus. No salvation.
Know Jesus. Know salvation.