Is there a possible way to get Leaderboard Stats from others party?

Hello! I am here to ask that is it possible to get Leaderboard Stats Data from Railway Database instead of Roblox Database. Because I am trying to link to the Discord Bot which I can change the Stats in Discord instead of using Roblox Console to change the Stats. I am sure it is possible but I don’t know how to script it. I hope I can get some help for it.

This is my Database for now:

Railway Database