Freestyle lines as an independent render pass
The option isn't available in Eevee but is still available in Cycles. You need to use the Filter panel in the Render Layers properties and disable the elements (eg, Surfaces) that you don't want to appear in the render :