Do you mean you will apply for study permit for phd while waiting for claim to be processed? If you are outside Canada your study permit will be rejected as study permit requires strong ties to home country. If your refugee claim has been successfully processed and you landed in Canada there is no issue studying after that.