Is there any example of "Starfleet officer" being used for Starfleet personnel collectively that can't be interpreted as referring only to commissioned officers? Or for enlisted personnel other than O'Brien?
Plenty. At various times a ship's compliment is mentioned it's usually followed by the word officers. EG the Enterprise D has 1000 officers, Defiant has 40 officers, Voyager 150 officers and so on.