I imagine it is. All of Cadence's magic seems to be love-based, and Friendship is Magic, after all.
I think this is what we used to deal with the sammich effects short-term. The magic effect was becoming slightly intertwined with Sandy's being, so attempting to casually remove it bore some risk to himself.