How can I get an animating a Swaying Stick

Hi, I would like to build a scene with a sphere hitting a pool trampoline and have it flex. Can I do this in Unity? Thanks.