No, if we could create new hearts, God wouldn’t need to give us mew hearts. Pelagianism is a heresy.
Ezekiel 18:30-31 men are
commanded to
both
1) cast away their transgressions
and
2) make a new heart and spirit.
The verse proves man is not totally depraved and that man has a role in his own salvation else the commands are pointless, senseless.
Does Ezekiel 18:31 contradict Ezekiel 36:26? No. So there must be a sense in which
BOTH God creates a new heart and spirit in man
AND man creates a new heart and spirit in himself.
Can man create a new heart and spirit within himself by himself
apart from God - God's word?
No! But man can obey God's word and by doing so man in that sense is creating a new heart and spirit within himself as God would have it be. In Acts 2, those that obeyed God's command to repent and be baptized for remission of sins created a new heart and spirit within themselves. They did as Peter said "save yourselves" therefore they went forth walking in newness of life Romans 6:4 i.e, a new heart and spirit. Those that refused to obey God did not have this new heart and spirit within them.
Since God is the One who gave the commands-instructions as to
HOW man can have a new heart and spirit, then in that sense God is said to have created a new heart and spirit in those who obey God. Those who obey, God will cut off the body of sin from them cleansing them, Colossians 2:11 thereby creating a new heart and spirit in them.
Therefore no regeneration ever occurs within man apart from God's word or apart from man's obedience to that word whereby BOTH God and man have a role in a new heart and spirit being formed in man.