There’s always a chance if you apply with the right documents. You’ve been refused twice because of prove of ties to your country and study plan.So what you need to do is to responds to the refusal reasons. Prove that you’ll leave Canada by writing reasonable letter of explanation.
Friends and family and job prospects in your home country could be strong ties to your country. You can order Caips notes as well. These notes tell you exactly why your application was refused and those notes written by the officer who rejected your application. It will take time to get them but at least you will know what to do exactly the next time you apply as this will increase your chances of getting a study permit. You can get the notes in this website caipsgcms.com