Remote development

My project is on a remote server and Android studio is installed locally. Is it possible to use capacitor in such a scenario, especially for hot reloading? If so, how to connect my local android studio to my remote project files?

Version control systems like git are designed for this exact workflow. Check out locally, commit changes as appropriate.