use more than one SQLite file? we have one per day and project for example.
If you're doing something that multiple systems have had millions of hours of development to do, just use one of those.
Extra benefit: you can allow your user to download all his SQLite db as per GDPR requirement.
And how is the query plan for indexes when doing so?
Having several areas of concern managed by distinct databases, with some occasions which warrant joins across the domains, this is the more natural use pattern. ATTACH loses foreign key constraints and triggers, among other things.