Or if the light fitting is one that is seen commonly in both types of technology (for example, E27 screw in fittings), then you can rewire the Metal Halide so that it bypasses the ballast, capacitor and igniter, and just goes straight to the lamp holder. Then you can screw in your LED lamp. Though I’d personally recommend replacing everything.
I have seen that Metal Halide does have quite a high lumens per watt, but that isn’t the whole story. LED’s tend to have a much higher bulb lifespan (you can easily get 30,000 hour LEDs, whereas Metal Halide is realistically only 10,000 hours*) and are also much lower wattage, so use less energy. Where I am, at university, they have these 150W Metal Halide spotlights, and you could easily replace them with 30W LEDs and get the same light output. Furthermore, Metal Halides tend to drop in output much more rapidly than LED’s - expect the Metal Halide to only be at 50-65% output at it’s rated lifespan.
*It’s not just the operating costs of the lamp itself that makes LED’s a much more suitable type of light for replacing Metal Halide. The maintenance costs are also a big factor, and Metal Halides have a high maintenance cost. I’ll explain more: when light manufacturers put an estimated lifespan on each bulb, it usually means that this is the average lifespan of the bulbs that were tested (a selection of lamps are tested, in order to get the lifespan). By this time, 50% of the light bulbs had failed. This is true for most light bulbs - but Metal Halide is a bit different. For MH, you have to treat the rated lifespan as the “DO NOT EXCEED” time for all light bulbs. - meaning that once you have reached the lifespan (usually 10,000 hours?) you really need to relamp the fittings. If you don’t relamp at that time, you’ll likely damage the ballast, and increase maintenance costs.
A real world example being my university; we have 32 of these Metal Halide Spotlights in the foyer of one of the buildings (in various locations). Only 5 of the fittings work. Why is this? Because no one at university knows what the tell tale signs of a failing Metal Halide light are, and even if they did, they haven’t done anything about it until failure of the lamp. This has in turn damaged the ballasts, to the point whereby the ballasts have given in and no longer work. These fittings are also a good number of years old (at least 20 years), so you cannot get the parts for them (including ballasts). Hence, the lights no longer work, and you can’t repair them, so they will have to be replaced with LED.
I’d only recommend Metal Halide if you can access the lamps on a regular basis, for crucial maintenance work. Failing that, find a different type of light fitting (preferably LED).