you will lose weight by TRAINING for marathons.
frequent marathon runners lose WATER WEIGHT and a bit of muscle during a race--their fat is already gone by TRAINING, they eat a lot of calories to have energy to run the race.
Even if you were to go run a marathon with no training and attempt to use it as a way to lose fat, you WON"T lose fat, if you don't energize yourself with calories(as in you are restricting calories to diet), you will BONK and crash and be a DNF. Most likely with no training, you wouldn't have enough energy and stamina to work long enough to begin burning fat.
Aren't you the one who said you can burn fat without burning calories?