Of course, but the real purpose for those buttons is to allow Google, Meta et al to build a marketing dossier of the websites you visit. Made a little less effective with cookie partitioning, but that's where browser fingerprinting kicks in.
Cynical exploitation of publishers who are desperate for any revenue stream or virality in a collapsing ad market.