Check what the flagpole is. There are several reviews regarding it, including mine.
I got the PGWP on the same day I did flagpoling, and my study permit was still valid at that time.
(
See some more details in my written replies.)
As I mentioned there, there are a few borders which process the work/study permits.
https://www.cbsa-asfc.gc.ca/travel-voyage/settle-setablir-eng.html
Check the operating hours and available borders. Those are in Ontario and Quebec provinces.
(I don't know whether there are more borders which locate on other provinces and support flagpoling..)
You need to check whether you can access one of those borders by walk
if you don't have or won't rent a car.
Personally, if you are really urgent and willing to drive/walk to the border, it can be a good solution.
However, you must
consider your time and cost as well as the cancellation of the existing application after you get the PGWP before it is in review.
For me, I already submitted the webform for the refund but have not gotten any response yet.