A few months ago the GPU started screwing up on my 20" rev A iMac G5, so I started hunting around for a replacement. I found a logic board from a 20" iMac G5 ALS (rev B), and after some studying online, figured it would work in my machine. And it does.
Although the boards have different model numbers (820-1540-A vs. 820-1747-A), they've got the same shape and configuration for all the necessary connectors, and only a few differences. The rev B board supports a different Airport card, but I hardly ever used wireless anyway. It's also got one of the screw holes for the CPU heatsink gasket in a different place, so I was only able to screw in one side. For a better seal, I used a bit of electrical tape. I was worried this still might not not cool the processor as well, but after using the machine for a while the temperature reading seems to be normal.
And the funny thing is, a while ago I was telling my roommate that these computers weren't made to be upgraded.
EDIT: also, the lower CPU fan connector is on the right side of the ALS logic board, rather than on the left side of the original G5 board. It required rerouting the cable from the fan, which itself required unscrewing the metal frame so I could get at it. That was a pain in the @$$, especially since one of the screws was in there pretty tight, but it worked.