Yes...there are actually a number of ways you can approach it. If you want to start the bi-weekly mortgage process, but have credit card debt, then switching the extra money that you would be paying toward the mortgage to your credit cards until they are paid off make sense. Then once your credit cards are paid off, you just switch the extra payment to your mortgage at that time.
The one instance where you might want to put the money toward mortgage before your credit cards is if you are still paying the PMI and have less than 20% equity in your house. By paying down the mortgage more quickly, you will hit that 20% mark earlier which will free up that money to be put toward your credit cards.
The basic concept in all of this is to always try to pay more than the amount you have to pay whether it be on your credit card, mortgage or other interest bearing loan tackling the highest interest loan first. If you can do this, then you will pay off the loans much quicker than the schedule dictates and save a lot in interest charges along the way.
Please let me know if you have more specific questions or need me to elaborate a bit more.
You can read more about bi-weekly mortages
in our article here