I recommend clarifying your question (because what you stated as the background, and your question are different)
The answer is of course.
- As long as you understand networking, and are using the right protocols, with the right settings, and the sending application supports sending to a non-local network connection
- Why? OBS Studio can be configured to 'listen' for various protocols/traffic streams on various ports. Rarely does a network listener care if sender is local or not
in your case, I suspect what you are actually intending to ask, is can 'droid cam app' send a video stream to a non-local destination (which in reality has nothing to do with OBS Studio). And that best asked of 'droid cam app' [which I have no experience with, so can't comment directly... but have decades of networking experience, hence replying]
There are different apps that use different protocols to send a video stream. So if 'droid cam app' doesn't work, that doesn't mean other apps using other video stream approaches won't work
- and using WiFi is NEVER a good idea for this type of streaming video. period. a last resort, ok with interruptions approach, but not something to ever rely on. [watching video streaming on proprietary clients that use caching to overcome WiFi throughput issues doesn't mean such will work with OBS Studio or any consumer-grade multi-input system]. For reliability, consistency, etc, I'd use a USB Ethernet dongle and stream the video over that