At the most basic level, all you really need is the proper voltage and it will ball park work. Of course it will not be what you would call a smart charger, and you would have to monitor the charge and remove the battery when the voltage peaks. It is a lot easier and not too much more expensive to just get a charger designed to work with NiMH batteries.
But the charger is probably not your biggest problem. If the power drain is too high, NiMH batteries may not be the way to go and you may be better off with nicads. If it is a halogen light, it may drawn more current than an NiMH pack can support as they tend to be designed for much lower drain electronic applications.