Absolutely.
Here is an example. I will be using ExampleExplosive and ExampleWidget.
Here is a simple function inside ExampleExplosive. I just clicked the little + by the functions tab on the left. It would remove that actor from play. There is hundreds of way to actually make it explode, and that would depend on your project. So here is a simple removal script, just add any extra behavior BEFORE the destroy node.
And here is the ExampleWidget blueprint. On click it casts to ExampleExplosive and finds that function.