Its been brought up before and then generally dismissed as not a very good idea.
A couple reasons that come to mind is it would make the moving parts of your Z axis much heavier than necessary. And it would be highly complex in execution to get the same rigidity that one would from a standard gantry with standard Z axis. A 3axis machine would likely require 5 servo/stepper motors instead of 4 or 3.