You can definitely set up a cron job to restart the cups service.
Seems to be a straight forward command.
service cups restart
Set it up to run during the night in the cron of the root account, or whichever account runs cups.
--
https://wheretofind.me/@NoSubstitute