there’s this script:
[https://www.ericson.net/content/2010/10/export-layers-as-pngs/%5D
it looks like you would have to manually add _001, _002 to your layer names or use this script:
[https://forums.adobe.com/message/2598903%5D.
For background to be present in all exported files you would have to ad a plus sign [+] in front of a background layer name.
hope it helps
🙂