If you use per-pixel lighting then yes, you can change it through shader editing.
There was a script for enabling flashlight, but it's disabled atm.