Of course! iPhones do support stylus pens.

However, not all of them are compatible with the device. Apple recommends using a stylus made specifically for Apple devices and finger-touch screens.

TIP: You can either buy an Apple Pencil or check if the accessory has the MFi (Made For iPod/iPad/iPhone) badge.