Adding the part would only cause warranty problems if component failure could be related to the installed aftermarket parts(s).
It also depends on how big of a weenie the service writer-service management wanted to be if the component failure could be traced to the installation of aftermarket parts.
I have warranteed repairs on vehicles that were chipped (Audi's) because the customer was cool about it, and they were regulars.