This is possible! with this kind of code. It’s working perfectly for me. If you need any further adjustments or explanations, feel free to ask!
mailMessage.AppendLine("<span style="font-size: 9pt;">" +
"Email Message: Copy the link below to your browser " +
"<span style="cursor:pointer; color:blue; text-decoration:underline;" onclick="navigator.clipboard.writeText('" + link + "')">📋(whatever your image is)" +
"
");