If your overhead lights are not on a 3-way switch:
Low-tech and most work would be to wire the coil of a 120v relay in
parallel with the light that is connected to the opener.
Then, wire the relay contacts in parallel with the overhead-lights
switch, such that whenever the relay is closed the normal light-switch
is, in effect, bypassed.
Not sure how you'd have to modify this idea to make it code, but this
is a starting point for making it happen.
A more reasonable method might be to look into those fancy light
controller systems and see if they have an 'add-on' for doing this.