Can I legally take off without contingency fuel having burned it all on the ground,
As is so often the case it will be company, or regulatory authority specific. In my last company (an Asian carrier) you could
not depart without contingency fuel on board, in my present company you can.