To give an idea for what is technologically possible today, here is a photograph from UCLA of a MEMS laser with optics suitable for transmitting light off-chip.
Photo: Lih-Yuan Lin and Shi-Sheng Lee, APL Vol. 66, p. 2946.