Can I install XP on a new computer that comes with Windows 8.

As far as I know when buying a new PC they all come with Windows 8. The store salesman told me that I cannot remove the hard drive from the PC, put in another hard drive and install XP because the new PC has hardware and other things that XP cannot support.

Is this true?