@AB_BOU I don't think it is possible to customize this SharePoint out of the box functionality to add Teams option under Send To command.
You can consider using Power automate flow for sending page details to Teams from site pages library.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs