This is a Yes and No or it depends. Yes, when iPhone 11 was announced back in 2019, it comes with a charger out of the box. But following the announcement of the iPhone 12 in 2020, Apple announced that older models which include iPhone 11, iPhone XR, and iPhone SE (2020) will no longer ship with a charger in the box.