In most of the car, it's going to get quite hot at times. Vibration specs are generally OK, if mounted sensibly, the problem is that hard drives fail rather often, in that a large fraction of them will have stopped working in 5 years.
And will a hard drive that you buy in 5-15 years be electrically, physically, and software compatible?