Yes! You can create an extension after an assignment due date has passed, and, in most cases, do the same for quizzes and tests.
If your student hasn't yet started their quiz or test, or if they have remaining attempts, you can give them an extension.
If a student has already completed all their attempts on their quiz or test and you want to let them retake, you can reset the quiz or test to let them back into the assessment. Either reset only their last attempt to give them one more try, or repeat the reset process to allow them multiple retakes.
For more information on resetting tests and quizzes, check out this article.