Hello,
Windows XP supports USB keyboards regardless of what machine you are
on. If your machine has USB ports, they’re working and Windows has the
appropriate drivers installed (which it should by default), and your
USB keyboard works, then absolutely – Windows should work with that
keyboard.
Reference link: https://askleo.com/will_my_windows_xp_computer_work_with_a_usb_keyboard/
Hope this helps.