Yes. You can enroll yourself for the next semester even if you have failed in the previous semester. You can reappear in the failed exam during the next end term examination or in supplementary exams, if announced. However, the program is however required to be completed within the prescribed period.