You can START the flying animation if you are swimming in lava by trying to fly like normal. This is NOT the same as flying into lava and RETAINING the animation. Does NOT affect water. Works in creative AND survival. Just FYI, not a dupe of Jebs' thingy.
Dupe of MC-106879 (Don't dupe your own tickets!)