"Death Bed Confessions" are allowed but they aren't as advantageous as someone may think. Sure, you can live a "wild life" and then make amends on your death bed and ultimately receive eternal life. That is between you and God. However, this is only better if one assumes that the "wild life" is better than a life with Christ now. God's love now is better than any kind of "man made love" we may pursue.
Lord, thank you that I don't need to wait to die to have eternity with you. I can start it today.