That might be a bit risky as you'd probably have to prove that you weren't working after your permit expires (and it's hard to prove a negative) - if your permit has expired by the time you land. Don't forget, they could still deny you your PR at the border, it's just rare as all of the checks...