I don't think FaceID can be repaired without using Apple. You can't get FaceID to work even if you replace the whole module without special software.. You'll just get the "FaceID unavailable" when you try to set it up
No, it very well may be a hardware issue. I'm saying that Apple has special software to program the module to work on your phone. Since FaceID is used to secure the phone, it wouldn't be very safe if all you had to do to is swap out the module on a stolen phone and then be able to unlock it. Every FaceID or TouchID system is unique to each phone. Apple is the only one that can replace biometric security hardware and marry it the the logic board