IIFYM (If it fits your macros)?

Options
Hey guys! I've been seeing a bunch of stuff about the IIFYM way of eating and basically it's that you eat really whatever as long as it fits your calorie and macro goals. When following this I of course would not be eating pizza and candy, but I do like that if I wanted to sneak that extra piece of chocolate cake in once in a while I can. I've had some problems lately with binging at night and I feel like it's because I'm not getting the right ratio of macros, so I am kind of intrigued by IIFYM. The one issue, though, is that I am a runner and am currently training for a marathon. Is this way of eating okay for a runner, or is it more for people who lift/ do less cardio? Also, how would I adjust my macros on days where I have long runs (i.e. 17 miles)? The macros I have would not be enough to cover a day on which I do a run like that. Anyways, my macros are:

1630 calories
225 g carbs
96 g protein
19-24 g fiber
38.8 g fat

I'm petite, 5'1" and 96-97 lbs, and am looking to maintain my weight. So what do you guys think about doing IIFYM? Any other suggestions? Opinions? Experiences? Thanks so much!