That button already exists and is used by every AR from The Isthmian League and Up.
Obviously the flag doesn’t light up though.
The AR would also be telling the referee in his headset that it’s offside as well. All referees from National League North / South and up now use them.