It takes some superhuman self control on both parts to keep a relationship in a situation like that, but it's possible. It's even possible to do so comfortably for years on end, even if you stay in the same positions. But it's a pin-balance in some cases, so just take stock of your priorities often and it'll probably work out.
__________________
Yeah, well, you're just that awesome, I guess. It's not like I guessed so anyways.