many people do this with shuttle PC's and convert the power supply to dc-dc...
the problem with a desktop being used in a car is that its not set-up to conserve energy so you will need a stronger psu, and maybe even a deep-cycle battery to replace the starter battery to handle the excesive drain.