I wish my father did that, so that I did not have to do the "obstacle course"
In the early 1980's, when I was already working in Toronto on a Work Visa, an individual cannot apply for PR (or what was then known as "Landed Immigrant") from within Canada.
The Canadian Consulates in the USA would not send the application forms to a potential immigrant who resides in Canada.
It was very tedious, because I had to travel to Detroit, via overnight Gray Hound bus, freshened up, shaved, have some breakfast, wait for the Canadian Consulate to open,
pick up the application forms, go back to Toronto, complete the forms with the necessary documents, travel to Detroit to submit the application forms, after receipt of their letter to attend an interview,
then travel there for the interview (fortunately, it was a good chit chat and discussion because the Immigration Officer indicated that I had already been working in Toronto for several years),
and finally travel there to pick up my IMM1000 (landed immigrant papers).
A total of 4 trips to Detroit, because in the old days, they would not send it to me.
Nowadays, many potential immigrants apply for PR while they are studying or working in Canada.