@Satyam Kolhe ,
Welcome to Q&A forum!
Per my research, this may only be achieved through Macro.
I tested it with Office Pro Plus 2019 based on Emi Zhang's reply in this thread, and successfully created a hyperlink in Ribbon.
Please check if it helps you.
Any updates, please let me know.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.