Yes, you can make action against the DB in Django by Django ORM, which is a built-in feature in Django. In the past, I have built a project in Django, pyinstaller and used SQLite as the DB and it runs smoothly.
Since the backend is only a Django web server but only accepts web requests from 127.0.01 and localhost, you can also install other Django plugins if you need.