I've done Go development from my Mac, and Quest will function identically (I'll be doing Quest dev as well).
In short: it's a bit of a pain in the ass. But it's doable.
The setup is simple enough, and there are a number of
guides available to follow to get things configured properly. I use Unity, so I'll be speaking in terms of that, but Unreal would be similar, just... a bit different.
You'll need to have the Android SDK, NDK, and Java SDK installed. If you're using Unity 2019, I believe the option is now provided to install and manage them through Unity itself, which is nice. Since you're posting here, I assume you already have the developer account. When you pair the phone, there'll be an option in the app to enable developer mode, which you'll want to enable.
There are a number of
settings you'll want to configure to ensure the best performance on the mobile set. Do all of those.
Honestly, the worst part of this setup is that you can't preview inside the editor. Meaning you have to build to the device each time you want to test
anything. This gets old quickly when you make one small change to try to figure out why your camera rig is a meter higher than it should be, only to realize the setting you changed didn't fix it. So you pull the headset off, mess with your settings, build again, and wait a few minutes for it to finish, pop the headset on, and check again. It's a bit tedious and much slower than it'd be with having a Rift working on your development machine.
The second worst part is not being able to live-debug things. When you're running in the editor, you can peek behind the curtain to see why stuff isn't working. That's a hell of a lot harder to do when you're forced to run on the actual device.
This alone is making me crunch the numbers to see if I can get a gaming PC laptop and a Rift S. I want to make something awesome for the Quest, but I don't have the patience to see a big project through the whole way doing this back-and-forth, and all the guesswork involved with debugging. That said, if it's your only option, it's certainly doable, but be prepared to have your patience tested.