Yes, you can! But, be aware that deleting a project from your portfolio cannot be undone, and it is not possible to delete a project that has been submitted to a hackathon. The reason for this is that hackathons have rules, and those rules include the sponsors having a right to display your submission.
Alternatively you can also hide your project from your portfolio.