It's a high risk method. But it's much more effective than traditional job applications. So if you weigh the time spent (10-20 hours building custom thing for company) vs spending 10 hours filling out 30 applications, I would guess this is a better approach.
It's also a method described in "guerrilla marketing for job hunters". There's others in the book if you're looking for a little lower effort non-traditional methods.