Yes. Setting up automatic contributions helps ensure that you're saving regularly and makes it easier for you to stay disciplined about investing for retirement — something that is essential for reaching long-term financial goals.
Additionally, many employers will match some portion of employees' contributions which can help maximize returns over time.