yes but the functionality doesn’t work that way. it sends the invite from the sender’s account, not the user’s profile. it is no different than sending an invite from your own profile.
when the invitee gets the invite, it’s from the person who pushed the button on the profile, not the profile user. the profile user does not even know about the invite, so it’s not really on their behalf (they don’t get notifications or anything).
it does feel odd to me from a UX perspective to have an invite button on other members profiles that doesn’t actually have anything to do with those users.