Grafana integration with spring boot and postgres

Hi ,
Can anyone advice if its feasible to create a grafana dashboard with postgres datasource and the data manipulations within a spring-boot project.

Thanks and Regards,
Albin