You should be able to upgrade a desktop or laptop PC running Windows 7 to Windows 10. The upgrade should detect both hardware and software incompatibilites, if there are any.
You may have to buy a Windows 10 licence, for the existing desktop. But I would try it, before spending your money...