Yes, and it is a common practice to do so.

Authors of eScholarship journals retain copyright in their work, and may reuse it in a variety of ways. If your journal uses eScholarship’s sample language for its author agreement, this is covered in Section 4.1.3. If you would like to update your author agreement to address dissertations specifically, or have other questions about the language in your author agreement, submit a ticket.