Nanoscopic Atomic Lattices with Light-Mediated Interactions