Yes, so long as it’s an iPhone 8 or later. Apple first launched support for wireless charging on iPhones with the iPhone 8 back in 2017, and it’s been a standard feature on every iPhone released since then. If you’ve got an iPhone 7 or earlier, wireless charging isn’t a built-in feature, although in many cases you can add it with a third-party, Qi-enabled phone case.