If the instructions tell you to drill into the frame, it won’t void the warranty. Trailer hitches are designed and tested specifically for the specific vehicle and won’t cause structural issues.