Interesting idea from ancient Egypt.
When an Egyptian miner from the Nile Valley working in the Galina mine by Gebel- Zeit on the Red Sea died, he would have been buried far from his family at home.
His fellow companions would provide him in his pit with a Terracota (burnet mud) woman figurine (as a companion= Wannassa) to substitute his wife.