Using off-brand ink will not void your warranty. Printer companies will tell you this, but it is not true or enforceable.
According to federal law, no company can compel you to use only their products to keep your warranty.
So yes, you can purchase and use off-brand ink without voiding your warranty. If a company tells you different, ask them to prove it. They won't.