Priests can sacrifice corpses anywhere, with no need for an altar, except in Gehennom. (This should be strictly worse than altar sacrifice - maybe it only reduces prayer timeout, by less than it would normally, and can’t result in gifts.)