Yes, applying for permanent residency while you are still a student in Canada is possible. However, you must meet the eligibility requirements for the program you are applying to, which may include gaining Canadian work experience.