One of the most profound pastoral moments in my career came when a man with whom I had been working for some time (and his wife and daughter were already members of my church) contracted cancer and declined very rapidly. When he made a profession of faith, in consultation with our deacons, I went to his bedside, with the wife and the daughter and a deacon to represent the congregation, and touched him with water on the forehead, lips, hands, and feet ... rather like an anointing, but using water instead of oil to symbolize his baptism. We were all weeping before I finished, but I count it one of the high moments of my years at that church.
Notice that I was careful to gain the consent of the spiritual leadership, the deacons; and that I made sure that one deacon would accompany me in order to express the implied presence of the congregation.
I should add that this man died a few days later, and you can be sure that his faith profession and baptism experience were reported in my funeral message.