There have been, and probably still are electronic ballasts for T8 lamps that are multi voltage input. I remember 120/277 with single input (hot-neutral) factory conductors, and the internal ballast components sensed the input voltage.
I also remember (with 'new' electronic ballasts) not reading the label, and putting 277 to the 120 volt only ones! No disaster, only the ominous click, not even a puff of smoke.
The OP is wondering IF say you put 277 into a ballast, could you still use it for 120, or is it 'locked' into looking for 277?