PGWP are not issued at POE if you're coming from outside North America.
However, you can apply when you are in your home country, just put your country of residence as Canada and put your Canadian address in the application.
I am planning on doing the same thing as I'm going to Pakistan in...