Is it correct to say that law of conservation of momentum is valid for elastic collisions only?

No, it is valid for inelastic collisions also.