In the USA under the FARs, you can. The FAR states "no person may takeoff an airplane" without the required fuel. Once you've taken off, that FAR has been satisfied. There is no requirement as to how you use that fuel. There is no minumum amount of fuel that is required to be on board at landing.
Now, in real life................but you asked for the legal answer.