By making your geometry a soft body, you can cause it to change shape with the force of a fluid.
To deform geometry with the force of a fluid
For details on soft body attributes, see the Dynamics guide.
For details on modifying the fluid, see Modifying fluids.