Generally, no, for two important reasons.
First, the power to high brightness LEDs must be current regulated. Almost all flashlights have no built-in current regulation so you would need to modify your light with a current regulating driver between the batteries and the LED.
Second, the LED(s) must be adequately cooled to prevent overheating failure and to ensure long life. Most flashlights are not designed to provide cooling of the light source.