Yes, try this:
flatpak permission-set webextensions org.keepassxc.keepassxc_browser snap.firefox yes
The use of the flatpak command is quite confusing indeed. As @ogra wrote, this is because the permissions database, even though it’s not flatpak-specific (it’s also used for snaps), doesn’t have its own separate management tool yet.