Sure you can upgrade W2k.
When you put the XP CD in, if autorun is enabled (and it is by default), it will ask you 2 questions.
1) Do you want to upgrade your version of Windows to this newer version?
2) Do you want to install a fresh copy of this newer version of Windows?
Your call man😉
Edblor