Create mysql databases in Local Sites?

Would it be possible to save the mysql-files to a site’s app directory within Local’s ‘Local Sites’ directory?

Or alternatively add an option to save the files on a shared docker volume, so it’s easier to back those files up?

This would also allow easier syncing Local Sites across machines…

Any opinions?