Quite possibly so. Indirect dating puts the O'Brien event at 2347, while our first solid proof of something other than the (now collarless) Maroons comes from the photo in "Suddenly Human", dated at 2353.
It's a bit funny, though, that O'Brien would equate the Maroons Gold with "the gold suit" when the Gold he is wearing at the time (of "Paradise") signifies something else altogether, something perhaps closer to the Maroons Grey.
Maroons Grey was Navigation (possibly Weapons/Armory), Communications and Space Sciences, Maroons Gold was Engineering and Helm. IMO, despite not being a big fan of the uniform in general, I favour the "Engineering - Comms/Helm/Nav (potentially inc Command) - Security & Services - Science - Medical" split from TMP.
Perhaps this "infantry" idea is off base altogether, and even any sort of a security role is a misunderstanding, with O'Brien in 2347 beaming down "with a squad" rather than as part of a squad. But nothing indicates he would have been a medic or a communications specialist or anything like that. Perhaps he was an engineer already, or at least a tech, and his fumbling with the field transporter just tells us his technical specialty was something else?
Unlikely,
OBRIEN: What is that supposed to mean?
GARAK: Oh, we all know your distinguished war record. How you led two dozen men against the Barrica encampment and took out an entire regiment of Cardassians. If you play Kotra with half that brazenness, we'd have quite a match.
OBRIEN: I'm not a soldier anymore. I'm an engineer.
GARAK: I see. So when you and Doctor Bashir go into the holosuites for hours at a time you're just repairing them?
OBRIEN: What's your point, Garak?
OBRIEN: Because he wants to get under my skin.
NOG: But you were a hero, weren't you?
OBRIEN: That doesn't mean I like thinking about what happened then. I was a soldier, Nog. Sometimes soldiers have to kill.
GARAK: Come now, Chief, don't be so modest. You did a lot of killing.
NOG: How'd you get in here? Both doors are secure.
We have reasonable evidence that a separate divison of soldiers existed during the period identified as soldiers by Kirk (Federation forces doesn't appear to be their full proper name), and O'Brien identifies himself as a soldier during the period.
We also have this:
OBRIEN: No, it's true. It wasn't till I got to the Cardassian front I found I had talents I never knew I had.
SISKO: At the front?
OBRIEN: It was a matter of figuring out how to get a field transporter operational in ten minutes or wind up a Cardassian prisoner of war. Now, I didn't know a transporter from a turbolift in those days but somehow, in nine minutes fifty three seconds, I got that thing to work. I got thirteen men safely off the surface of Setlik Three. Next thing I know I'm the tactical officer on the Rutledge. That's how I got the gold suit.
SISKO: Well, Jake's ready for a new suit too. The boy seems to grow a centimetre each week. You know, he struck me out with a curve ball the other day. First time.
OBRIEN: They grow up in a hurry, don't they, sir.
So he wasn't wearing gold (worn by engineers, pilots and possibly Armory during the period), until that point, therefore while we can't say that he wasn't Security (wearing Dark Green) rather than "ground forces" I think it's probable.