Creating records in multiple tables after front end import

Just throwing this out here because I’m fairly certain this is something I will be looking into in the near future.

User imports data through a front end import, records are created in multiple tables based on whether or not a matching record already exists.

For example, import contains columns for students, teachers, facilities. After import, search students and create student record if one doesn’t already exist, create teacher record if one doesn’t already exist, and create facility record if one doesn’t already exist.

I would really like to setup a process like this. Having an import process that brings in data to multiple tables would be really nice. Is this doable?