Not keepass, but you can self-host Bitwarden using `vaultwarden`, an open-source reimplementation of the server (the official server is also partially open source, but complex to install and run - this one is a simple binary you can run), which works with the official client apps.