Yes, there is a way to use Microphone and Audio on Earbuds while you’re charging your iPhone, but you’ll need to buy 2 in 1 adapter. Here is a link on eBay:
- Adapter with 2x lightning input: http://www.ebay.com/itm/Belkin-Lightning-Audio-Charge-RockStar-for-iPhone-7-and-iPhone-7-Plus-/252699140325?hash=item3ad60ae0e5:g:fnsAAOSwImRYYuRg
If you want to have 3,5mm input for iPhone, there are adapter:
- Adapter with 3,5mm and lightning input: http://www.ebay.com/itm/iPhone-7-Plus-2-in-1-Lightning-to-3-5mm-Headphone-Adapter-Audio-Charge-Cable-/201728593920?var=&hash=item2ef7f61000:m:m_yL67ZCcuSQN-MfKjYxfAw Hope this solve your issue.
Hope this solve your problem.