I'd argue that its not worth the effort. The main power of YNAB is in planning for future spending. Categorizing a year of history doesn't give you that much benefit compared to the effort it takes.
You can review a few months or year of your bank statements and set up your budget with goals based on the categories/bills/expenses you encounter. This acts as a template for future spending.