Prone is a condition to which a creature may be subject.
Conditions alter a creature's capabilities in a variety of ways ... Most conditions ... are impairments, but a few ... can be advantageous.
A creature subjected to the prone condition gets a defense bonus against ranged attacks:
An attack roll against the creature has advantage if the attacker is within 5 feet of the creature. Otherwise, the attack roll has disadvantage.
at the cost of its own
disadvantage on Attack rolls.
and half of it's speed.
Now, you can elect to fall prone at any time during your turn, for free.
You can drop prone without using any of your speed.
And while
Combatants ... lying on the ground ... are prone.
The rules never specify that lying on the ground is a necessary condition. On the contrary, the designers have clarified that
You can almost always be knocked prone. About the only time it's physically impossible for you to be knocked prone is when you're affixed to something that keeps you upright.
and
If you're knocked prone underwater, you're subjected to the effects of the prone condition as normal. One way to visualize it is that you're floundering.
And even, specifically with regard to hovering
Q: If a creature is swimming, hovering or is otherwise unable to fall (e.g. chained to a wall), does knocking them prone actually inflict the prone condition?
A: If it's physically impossible for you to be prone, you're not subject to the prone condition.
Certainly, the ground couldn't be a necessary condition, as that would imply that you would be immune to the prone condition so long as you lie on a table or bed--or ad absurdum, a bedroll. It seems like we must conclude that the Prone condition is not literally an orientation to the ground, but rather is a mechanical game condition that takes on different flavors in different media.
Furthermore, it appears that, both RAW and RAI, you can be subject to the prone condition, regardless of the medium, be it suspended in a hammock, on top of a table, lying underground, floundering in water, hovering in the air, or the drifting through the void of space. And you can elect do this voluntarily--at no cost to your movement.
Specifically, with respect to flying, the rules address scenarios where a flying creature may be subject to the prone condition.
If a flying creature is knocked prone, has its speed reduced to 0, or is otherwise deprived of the ability to move, the creature falls, unless it has the ability to hover or it is being held aloft by magic, such as the fly spell.
Allowing for a flying creature to remain magically aloft or hover while prone.
XGTE further specifies that a creature,
by spending half its flying speed
may
counter the prone condition (as if it were standing up in midair). (XGtE)
So, it seems to me that I can elect to go prone while flying (at least, so long as I am held magically aloft or can hover) AND gain a defense bonus from ranged attacks.
It seems generally accepted that this sort of strategy is acceptable on the ground, so, is this interpretation correct?