A bit of a depressing business venture, but it’s possible in the UK to “Rent a Mourner.” This is where the deceased, or family of the deceased, can preemptively rent fake friends to fill the service.