It is not permissible to use tricks in order to study in these institutes and go against the conditions that they have set out, because Allah says (interpretation of the meaning): “O you who believe! Fulfil (your) obligations” [al-Maa’idah 5:1]. And the Prophet (blessings and peace of Allah be upon him) said: “The Muslims are bound by their conditions.” Narrated by Abu Dawood (3594) and classed as saheeh by al-Albaani in Saheeh Abi Dawood.
But there is nothing wrong with you practising the profession that you learned, even if you learned it through a trick or by impermissible means. It is not one of the obligations of repentance that the penitent should forget about the profession that he learned or give up working in that field; rather he should ask Allah for forgiveness for the wrong things he did and work in whatever permissible field he wants.
For more information please see the answer to question no. 69820
And Allah knows best.