Generally, the answer is "no." Texas Penal Code Section 16.06, Unlawful Installation of Tracking Device," makes it an offense to knowingly install an electronic or mechanical tracking device on a motor vehicle owned or leased by another person.
It is an affirmative defense to prosecution that the person installing the device obtained the "effective consent...