@kevinrns running akkoma here, i assume pretty much all fediverse software will allow you to post such links though. and yeah, it’s “just as safe as emails”, it’s still just a fancy html editor after all, why would it be safer?
you’re still on the internet, i’d argue you’re still expected to follow basic security advice, like checking the url you’re going to when hovering, checking the url bar before entering any information, and using a context-aware password manager for all your logins that doesn’t autofill when the domain doesn’t match.
this kind of link customisation feature has been available on forums and online boards for decades at this point. some more modern internet discussion platforms seem to have removed it, which i think made some people forget, or just not learn, to use those other, safer, ways of ensuring the url you’re clicking on is what you expect. maybe mastodon should warn users with a pop-uo before opening such links? i don’t know, i’m not a ux designer, you can advocate for it upstream with whichever fediverse software you’re using if you want it tho, fedi is all about havibg options, after all