To answer your question - no you can't do it the way you suggest.
However slow systems usually respond to a good "clear-out."
I've found these two free programs very good for a general clear-out. (both on the same page.)
WPA2 hack: How secure is your Wi-Fi?
Microsoft Surface Book 2 hands-on review – bigger and 5x faster
Best kids apps for iPhone & iPad
Que faire si son iPhone ou iPad est tombé dans de l'eau ?