It's legal, though unlikely. The default rules assume constant all around vision for everyone, and since you need line of sight to the destination square, your enemy will almost certainly have line of sight to it as well, and will be able to see that you've popped out in midair.