Replacing a 7.2 volt battery pack
No, it is not safe. Never charge Lithium batteries with a charger that is designed for NiMH, unless your goal is to set things on fire, spectacularly.

It is of course possible to replace or redesign the charging circuit, but the easiest and arguably safest route would be to replace your old NiMH batteries with some new NiMH batteries.