If the voltage (1.5V), the capacity, and the discharge curves are identical there will be no problems. One thing to keep in mind is that Lithium batteries tend to heat up and in some cases create a fire hazard. From this standpoint it is always better to stay with the manufacturer's recommendations.