I’ve done this a few times after running up big credit bills. As long as you know how long you’ve got interest free for, and can pay the bill in that time, it works fine.
Make sure you fix your payment rate though. Last time I did one, I forgot to uncheck the ‘clear balance each month’ that Barclaycard offer and unexpectedly ended up shelling out £600 of my overdraft just before my mortgage application.