No, you don't and if you read the fine print on Capitol One,
"3 Earn one mile for every dollar transferred from a non-Capital One account, up to 5,000 miles. Minimum balance transfer amount is $50. Maximum requested balance transfer amount is $20,000 and will be based on your approved credit limit."
you see there is a limit of 5000 miles you can earn from them with balance transfers.