Nice!
I wouldn’t necessarily advise it as a regular practice on all un-merged PRs as it does contain some risk and I can’t provide support for issues that crop up on umerged PRs (the PR review process plays an important role), but if you did find an issue that would be useful, so I’m not going to tell you to stop if you’re ok with that risk, e.g. you’re deploying them on a development or staging site. I wouldn’t advise you deploy them in production.