I wasn't aware of this so did a Google: https://theathletic.com/news/automated-offsides-world-cup-arsene-wenger/Lp1QUh86ZSqS
Sounds promising. I would still change the rule for offside decided by feet only, and put trackers in the boots. (One of the comments at the bottom, not me, also suggested using feet only).