Can I customize the leaderboard with fine granularity? If so how?

I want to customize the UI of the leaderboard and add custom buttons. I know we can customize some aspects of the leaderboard like colors with paid plans but i feel that its still limited. Is there any way to custom create the leaderboard page in terms of UI, perhaps when using a firebase database?