I'm using this sound card Hat and it has the ability to use a mic that's built in or line out for input. The developer is attentive as well and really have A+ support getting it working.
Audio Injector Sound Card for The Raspberry Pi with inbuilt Microphone https://www.amazon.com/dp/B01HCC0210/ref=cm_sw_r_cp_apa_i_uvAxEb3YXNDE6