If you brought in a car for repairs and it was found out that the cause of the problem was the mod, then yes. In general, though, engine modifications can void your car’s warranty.