You can't change the actual font on your iPhone, but you can change the font size in a couple of different ways, especially if you have iOS 15.
While you can't italicize text when sending messages on an iPhone, you can italicize on an iPhone in Mail, Notes, and Pages.