of course, you can integrate other peripheral drivers into your project - for example drivers from the STM32 HAL library.
The example 'DeviceIntegration' that you will find within the folder /Examples gives you a good starting point for integrating device drivers.
Additionally, please see following documentation:
Device Class and Device Driver
Integrating with the device.