Not specifically that but there is ACP > FORUMS > Prune forums
that allows pruning any topic that hasn't had a post in a specified time.
Other than that you would need a MOD. Have a look in the Modification database
and if you can't find one that is suitable you could post in [3.0.x] MOD Requests