Web the simple answer to the question is no, you can’t retake the quiz if you’ve already taken it on that account.
How to do sorting hat quiz wizarding world app
Wizarding world com sorting hat quiz
Harry potter sorting hat quiz wizarding world