It depends on what's actually wrong, but in some cases, yes. Sometimes it's possible to unstick a pixel by just displaying the right sequence of colors; poking the screen is essentially a more brute-force variation of that.
And I’d bet that won’t work anymore with screens that are behind a sheet of glass