It may be possible to replace just the thermal sensor on your hard drive PCB, but it depends on the specific model and design of your hard drive. In general, replacing the thermal sensor requires specialized equipment and expertise, so it is recommended to seek assistance from a professional technician. Additionally, replacing the thermal sensor may not always resolve issues with the hard drive, as there may be other underlying problems that need to be addressed.