Immersive Body Deleter provides a lightweight and simple way to remove corpses from the game. A spell called "Arkay's Cremation" was added to Whiterun's Hall of the Dead. The spell behaves like Wall of Flames, but the duration of the burn was reduced to a few seconds. When the spell hits a dead body, the corpse will disintegrate in the flames.
Things to note:
-Corpses will leave behind piles of Sanctified Ash containing their loot
-Dwemer automatons will be marked for deletion by the spell, but WILL NOT be broken down (you can't cremate a a metal puppet)
-The spell WILL NOT clean up activators (ash piles, seeker corpses, and things of that sort are classified as activators)
-The spell WILL NOT clean up dragon skeletons
-Leaving a cell will delete any corpses affected by the spell, and any sanctified ashpiles
-The spell does no damage
-It's a restoration spell (holy fire to sanctify remains in the name of Arkay)
-It doesn't increase your skill
Ash Piles seem to be connected to the corpse they are generated from. This means the game doesn't actually delete the corpses when ash piles are generated. They simply have their physics disabled and are made invisible. I discovered this when I attempted to disable and delete corpses after generating the ash piles (the piles will not function if you do this). Which means that some of the corpse cleanup mods on the Nexus may not actually be cleaning up the corpses, and the Ash Pile cleanup script only deletes the ashpiles, while those invisible corpses are still there (until the cell resets, I suppose).
In order to rectify this, my spell behaves like this:
-I shoot some flames
-If it hits something dead (which doesn't have the ActorTypeDragon keyword), the magic effect script will trigger
-The script runs on the target of the spell (corpse)
-If the corpse is a dwemer automaton, it will silently mark it for deletion (DeleteWhenAble()); the flame effect will burn out without anything happening
-If the corpse is anything else, the script will run the disintegrate animation, drop an ashpile, and mark the corpse for deletion
-Sanctified Ashpiles generated by this mod have a script attached to them which marks them for deletion immediately upon creation
-Leaving the cell triggers the deletion of the corpses and ashpiles.
Originally, I had the mod generate piles of dwemer scrap from automaton corpses, but using fire to cremate something made of dwemer metal isn't realistic or lore friendly, so I changed it to simply mark the automatons for deletion without running the disintegrate effect or creating an ash pile. Since the deletion happens off screen, you can just assume that some spider bots came and dragged it all off when you weren't looking. Out of sight, out of mind. I had considered a second spell specifically for dismantling automatons immersively, but it felt like a pointless endeavor to duplicate the spell to accomplish the exact same goal with a different animation. There was also the option of completely blocking the spell from working on automatons the same way I did for dragons, but I felt that would be defeating the purpose of the entire mod (deleting corpses).