I've seen it happen once, - but there's a caveat.
A 42yo RP - on another team - with a cheap two year contract ($1.5M) and a mutual option in the second year. He won Fireman of the Year in his last season, declined the option, and retired immediately.
I would guess the algorithm first made him decline the option, then realized he was 42 and without a contract as a separate decision, so it retired him. Only reason I noticed is because I wanted to sign him! Either way, mic drop retirement.