No i don't think there is a way to assign the macro to different items in the slicer as slicer is a object put together and you will not be allowed to assign macro to different items in the slicer.
if you want to assign the macro to the buttons you can twist it by writing a macro in the below mentioned code, where the macro runs every time when there is a change in the cell value.
Private Sub Worksheet_Change(ByVal Target As Range)
Your Code
End Sub
Hope this works!