Any setting to auto-delete personal messages older than N days?

You’d need a plugin.

What problem are you solving with this?

It’s not straightforward. What do you do with a topic that’s started 5 years ago that has replies yesterday?