Yes you can. Setting up ticket sales period restrictions will allow user to buy ticket until the date specified by you, beyond which the event ticket will not be available for sale.
To set up:
- Go to Org's admin page > Design Event Campaign > Ticketing
- Scroll down to "Restrict Ticket Sales Period" section > set up the sales start and end dates
- Update the event ticket