Can I use API to allow employees to email from external emails to raise a ticket?

We are looking at allowing our employees the ability to email our service desk via personal emails in the event they are locked out of their laptop/accounts. This can’t be done in Jira settings due to the personal account being flagged as not being an account in Jira.

Can this be done with the API?