Christine,
Yes.
Joseph F. Smith, the son of Hyrum Smith, was the president of the LDS church when he had a vision of the spirit world and learned more details about Christ’s visit there to begin the teaching of the gospel in the spirit world as had been explained by Peter in his first epistle.
This vision of Joseph F. Smith is explained in D & C 138, which concludes with the following concepts:
58 The dead who repent will be redeemed, through obedience to the ordinances of the house of God,
59 And after they have paid the penalty of their transgressions, and are washed clean, shall receive a reward according to their works, for they are heirs of salvation.
60 Thus was the vision of the redemption of the dead revealed to me, and I bear record, and I know that this record is true, through the blessing of our Lord and Savior, Jesus Christ, even so. Amen.
You will remember that the LDS belief is that only a few souls remain in “Outer Darkness” (meaning the spirit world place of punishment for sins and for rejecting Christ) at the end of the Millenium. There will be a merciful rescue from that place of torment for those who finally confess their sins and bow the knee in acceptance of the atoning mercy of Jesus Christ. Their torment will have seemed never-ending (think of over a thousand years of torment), but their rescue was promised by Christ in Isaiah 61:1-3 which Christ Himself quoted in the Jewish synagogue at the beginning of His ministry.
Part of that rescue will require being “washed clean” through an authorized baptism by immersion on earth of someone in their behalf, and also receiving the gift of the Holy Ghost since they will dwell eternally in a place where they have the presence of the Holy Ghost with them. This is a conditional salvation, with no Personal presence of God but also without the torment of their guilt from sin forever. Christ’s love and forgiveness extends to even them, but it is not a way I would want to participate in getting there and not a place I would want to eventually receive. There are much more glorious places than that, for those willing to repent and change their lives during this mortal life.