Can a student work in a lab on campus while taking a leave of absence?

No, only remotely. In-person, on-campus employment or research is restricted to students who are enrolled in residence.  Remote employment or research is available to all students. More details on student employment are available on Yale College’s FAQ.  

The full, updated policy announcment (as of July 17, 2019) is available here.