Well, no you can't. Ephesians 2:8: For by grace are ye saved through faith; and that not of yourselves: it is the gift of God:
Ephesians 2:9: Not of works, lest any man should boast.
You see if we could earn salvation we would have no need of God or his presence in our lifes. But it is that very presence and power that brings true peace and joy to the heart of man.
You see there are some things in life that are constant and do not change. Take gravity for example, step off a bridge and you fall, every time. In a similar way God must deal with sin the same every time.
Romans 6:23: For the wages of sin is death; but the gift of God is eternal life through Jesus Christ our Lord.
Very simply put the price of sin, death, must be paid. Now this death is a spiritual death or eternal separation from God in hell. Someone must pay the price.
Now the choice is yours, you can pay the price for your sin and be separated from God forever, or you can accept the payment Jesus made on the cross for your sin.
John 3:16: For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.