Yes, you can use it with any database structure. You just need to supply the data to DayPilot components in the required structure.
This can be done on the server side quite easily - you need to create a JSON endpoint that returns the data in the right format.
Also, when handling UI event, you need to call your own API endpoint that stores the changes in the database.
I suggest going through the following tutorial which explains how to do that: