It depends on how the cart is manufactured and why it's dead.
Lots of dead carts will still produce dumps when hooked to copying equipment. If it's messed up to the point that doesn't work then the chips can be manually removed from the board and dumped that way.
If the board uses globtops (or if the chip itself is damaged) then that's not an option and you're out of luck.