Sure it can be done.
But to be on the safe side you would want to find out if there are XP drivers for all the laptop components first
Post more info and we'll go from there.
There is a method to let it install XP but let's get the drivers needed first.