yes, of course.
you can update your old win98 system with WinXP but you have to run the winXP compatibility tool before to know what win98 drivers,peripherals,applications could be incompatible with.
if you know you don't know, the way could be more easy.