score:2
Ajahn Chah once answered this similar question with something like; "dung beetles can fly, what is so special about flying?". He was asked if he could fly. IMO ajahn Chah tried to say that the curiosity was misplaced and it would never lead to cessation or total liberation.
Upvote:5
This is actually nothing special to feel excited about. In Ayurvedic terms, when Vatha(air element) is imbalanced in the body, people tend to see dreams of flying. More information here
On the other hand, the ability to fly through the air is just one of the many psychic feats an advanced meditator can perform. It has nothing to do with dreaming. It requires great dedication in the practice of Samatha meditation. Visuddhimagga explains how it can be achieved based on the 4th Jhana.
If yes then why one should do this?
It's the same reason why one gets into an airplane. To travel longer distances easily. According to the stories, in the past, monks with psychic powers have used this method to travel when they don't have a specific destination in mind. ex: when going on alms round. But if they want to go to a specific place, they would simply disappear from where they are and appear in the destination. Lord Buddha himself has said to have used this method when he visited Sri Lanka 3 times.