The 40GB disk is thicker than the 20GB. That said, the answer is actually yes, if you're willing to do some work and take some risk.

I read a project somewhere online where someone did squeeze a 40GB disk into a Karma. He used a dremel to remove much excess plastic from the inside of the unit.

I'm sure a Google would find it.