Yes is the quick answer.
As long as the machine has it's Certificate of Authentication - a label with the ID number on - then any XP Home or XP Pro which ever your friend has will do to boot from CD.
Surface Pro (2017) vs Surface Pro 4
20 groundbreaking 3D animation techniques
How to mine Bitcoin on Mac