Device removal after 30 days

I’m wondering if we can set so that any device that has connected to our Wi-Fi (default policy) will be removed after 30 days of no activity? (phones, iPads/tablets and such devices)