I really don't understand why you are so sure you love Academia to the degree that you'd take any type of PhD. Generally people don't like academia. They like economics, or they like Finance, or they like Computer Science. Because they like the subject and are stimulated by the unanswered questions in that field they want to go into academia. I seriously doubt you can get enough motivation to finish a PhD if you're just doing it because its an easy field to get a job in.
Also, be sure to separate out a love of teaching at the university level from a love of academia. You can teach with a MA at the community college level, and you'll be very competitive for jobs if you have even a bottom of the barrel of rankings econ PhD. Most people on TM are not interested in that because they passionately love economics and researching economics, more than teaching, so they want to be around other active researchers. Because of that I'd honestly be happier doing an Econ MA and teaching at the community college econ classes while doing barely passable regressions on stata then being in a full university researching microbiology or some other random subject.
Instead, if you're genuinely interested in economics but are worried about the your inability to finish a econ PhD because of the math my suggestion is you can often tackle non-theoretical econ PhD questions from related fields (i.e. agricultural economics (still a lot of real analysis but there won't be as much dynamic programming without macro), or Public Policy). If you doubt you're competitive for econ PhD programs then I'd suggest you wouldn't be competitive in any other field either. Take classes for a few years and try to get better letters instead.