Do you want the button to move continuously with the sprite? If so, you'd have to keep checking for the sprite's location and updating the button position (probably in a parallel process), and that's more complicated and not something I can help with.
However, if the button will be displayed while the sprite is standing still and will be removed after the player clicks on it, that's probably doable though I haven't tried it myself. You can get the player character's or an event sprite's Screen X and Screen Y under Control Variables > Character > Player > Screen X or Screen Y, and then just modify the x and y of the button position accordingly when using Galv's addButton script call.
E.g., let's say you set Variable 1 to the screen X and variable 2 to the screen Y. if you want the button's x-position to be to the left of the sprite, use $gameVariables.value(1) - 48 as the x and $gameVariables.value(2) as the y. You can modify 48 to a bigger or smaller number depending on how far left you want it to be.
Note that you may want to account for cases when the sprite is at the edge of the map (i.e., if it's on the left edge, a button that's added to the left of the sprite won't be visible).