The present invention refers to a composition suitable for forming an intramuscular implant comprising a biodegradable thermoplastic polymer of polylactic acid (PLA), DMSO and an aromatase inhibitor compound, a kit suitable for the in situ formation of the composition and its use as a medicine for treating breast cancer.