Yes, as long as at the time the loan repayment contract would be issued, you have 2 remaining years of research time. In other words, if you are appointed to a training grant in July and apply for loan repayment in December, you should have 2 years of research training remaining as of July of the following year. For new applications, loan repayment contracts are for 2 years, not 1.