Will it be possible to connect a gallery to the data of a database?
You can connect galleries to your collection, as you can see here:
If you refer to the option to have a gallery field type- we're currently working on this feature. You can follow the Tips & Updates forum category to stay tuned.
I mean interactive galleries. Where the texts of each image can connect to the title of the item inside a box. I attach an example.