Macromedia's Fireworks came the closet back in 2003, the new edition may as well. It allowed you to make slices using the slice tool, so you can take a firework file, and slice it up into pieces, and then export the pieces as html.
I did some searching, and several companies claim they can do it.
In the long run, a competent programmer can translate a page mockup into an HTML encoded page by hand in a short amount of time.
In the history of web pages, it looked like many companies like Microsoft was going to phase out web programmers or designers by allowing programs such as word, excel, and in-design to export HTML for web sites. But over the course of time, even those programs were not able to step down lower enough for the common man to build a web site.
Perhaps you will be the one to write that program, making you rich and famous.