Yes, you may retake an ISTQB exam as many times as desired.

Each exam attempt requires an additional purchase.

However, if you meet the criteria of using certain ASTQB accredited training providers, ASTQB does offer a free ISTQB exam retake of select ISTQB exams.

Learn more about the ASTQB free exam retake offer.