Yes. Bungie was an independent studio back in the 90's, then MS acquired them for Halo. Bungie split from MS in 2007; the Halo IP remained behind under 343.
They were under Activision during the Destiny era until 2019. So if they stayed, they would've ended up back at MS. The M&A merry-go-round continues.