Debt consolidation is simply the act of taking out another loan to pay off any previous loans that you have. Therefore, you can take out a loan to cover any debt, including traffic tickets. Your only barrier in this is that would have a relatively strange use for the money, so if you were consolidating through a company that does not have consolidation as their primary purpose, you would have some explaining to do.
For an official debt consolidation company, however, you would have no problem with this whatsoever. This is one of the many reasons why you should get the loan for your consolidation from an official company, rather than a bank or a loan shark. These companies are used to people who need to cover all kinds of different debt, so they would probably give you the loan with no questions asked. Other reasons why you should go with an official company include that they have a track record, give you free financial consultation, and just keep everything in order for you. Some will even bargain down the amount that you owe your creditors.
So, if you use a good debt consolidation specific company, with a good track record, they will allow you to do anything. They will have the experience for dealing with a wide variety of situations and will definitely allow you to apply your loan to any traffic tickets that you may have. The only problem that you would run into is getting a loan from a bank if you want to use it for this.