I have a CLI tool (written in Python) called twitter-to-sqlite which imports Tweets into a SQLite database - it's a really fun source of data to play with: https://datasette.io/tools/twitter-to-sqlite
It's probably impractical because the sqlite.wasm file is a couple megs, but it's a fun proof of concept.