Yes. After 5 years of staying in Ireland, a person is entitled to apply for PR. If you are in Ireland as a student, apart from your stay, your academics and experience will be very important in obtaining PR in Ireland.