Yes. But I said “generically,” and “generically” all servicemen are referred to as “soldiers” or “troops.” It’s how lazy people address servicemen.
I was USAF, and I was referred to as a soldier more times than I care to remember; I soon tired of trying to explain that in the USAF there are Airmen.
I’m career and retired Navy, and not once did anyone refer to me - or any of my fellow sailors - as a soldier.