In 1979, Joop Zoetemelk was 3:07 behind Bernard Hinault before the final stage. Zoetemelk attacked on the last stage, hoping to win enough time to claim the victory. Hinault chased Zoetemelk, and beat him for the stage victory.

Can we conclude that has anyone ever attacked on the last day of the tour de france?
yes