At the moment there is a limited possibility to model fluid-solid interactions. Though solid-fluid is available in greater extent.
Coming to your examples: a solid moving through a duct or a ball moving in water, what usually is done is the change of reference system. We attach the reference system to the object, so that it seems as if it was still and it is the fluid that moves around it.
An example of a ball in fluid is this project:
It is a 2-d flow and uses LES turbulence mode, but you could interpret it as the motion of the ball.
When it comes to oscillations, you can do that using the Advanced Concept -> Rotating motion -> AMI -> Motion type: Oscillating rotating motion.
For more check here: https://docs.simscale.com/docs/content/simulation/model/advancedConcepts/rotatingZones/rotatingZones.html#arbitrary-mesh-interface-ami