Question: can you do a phd remotely?
Answer: Yes, this can be done, but this has to be discussed with the school and program in advance. At previous work places, I've seen PhD students on site who were working "remotely" essentially full-time.