Yes, but not too often. Doing a clean install can also help you speed up your device. Just make sure you have proper backups when you do it.