Answer:
Possibly, but not usually. Windows XP was distributed for far longer than Windows 98, and a lot of hardware that is compatible with Windows XP isn't compatible with Windows 98. The newer the computer, the less likely it will work with Windows 98.