Much like Drupal, WordPress can be bent into something vaguely resembling a framework, if you're the type of person who enjoys that sort of thing. But being the type of person who likes using WordPress as a general-purpose framework is sort of like being the type of person who enjoys being tied up and beaten with a rubber hose. It's a weird, weird kink.