Mining bitcoin on a CPU these days is like digging for gold with a garden shovel. Once upon a time it may have worked, but today it's basically useless (even if you do it on a million computers at once).
I did look into using the same technique to implement bitcoin mining in glsl. My opinion is that it is possible, but not straight forward and probably not worth it, but still a pretty f'ing cool concept.
:)