Did anyone ever loose weight by eating their TDEE but create a deficit through working out?

I just wonder. Has anyone done this successfully? Basically eating their maintainance calories but burning 500-700 calories extra a day through exercise thus creating a deficit of 500-700 calories a day?

And before you say "you can't outrun a bad diet", that is obviously not what I mean.

Edit: sorry - as some pointed out, i do mean the "sedetary" TDEE without the exercise calories eaten back. Basically eating the calories you would to maintain your weight without exercising.