Yes, this is allowed (call it a loophole, if you like). You can choose to designate expenses towards credits/deductions (there is a question about this in the TurboTax interview), thereby making the 529 distribution taxable if there are not sufficient additional education expenses to offset it.
The taxable 529 distributions should be reported on your children's tax returns.