Could long term osteomyelitis still stay in the body?

Yes. Osteomyelitis is hard to diagnose and treat. It can remain dormant for years or decades, even after aggressive treatment.
YES. If the infected bone is not completely removed surgically, the bacteria can still be harbored in the bone, and flare up at some point later in life. Dr. Latva.