If you have the standard variant of an iPhone, including the new iPhone 17, you won't be able to use the flashlight beam ...
You don't have to stretch out your thumb every time you change your screen brightness or turn on Do Not Disturb.