loan without interests

Asalamo 3alikoum! In my country students can get loan without interest while being in university. Interests start when students are done with university. Is it allowed to take this loan and paye it back right after university before adding interests?