Automatically create PDF, then upload to S3, for certain DocTypes?

I have a client that currently uses a proprietary CRM. The business is a real estate business.

The state has some pretty onerous rules in terms of how records have to be stored. For requirement is that certain records have to have a backup created, and each individual backed up document/record must be readily acccessible, and must be able to be printed on demand by an inspector. Just having backups of the database isn’t enough.

So, I’m curious if it’s feasible to have ERPNext create a PDF of certain documents once they’ve been submitted, and then automatically upload that document to Amazon S3 (or some other service).

Apps are available for PDF on Submit and External S3 Storage, so you may achieve the desired functionality by using both either by default implementation or by some customisation of these apps