I believe that it's extremely likely that you'd spend more on a good editor than you'd ever earn on the book. I don't mean "you", specifically, I mean the vast majority of authors, both self-published and traditionally published.