Maybe... but to be honest this is the kind of thing better implemented as an action. Or just a regular script running on the object, controlled by Playmaker. I would check on the Unity forums/wiki to see if someones already written this script. Then you can control it in Playmaker using Set Property, Send Message etc.