Empty folder deletion

When I delete a file from the library via the Plex app, only the file itself is removed. Is there an option to also delete the folder if it no longer contains any media files?

There is not. The current behavior was requested by users.