Yes. You can tame ghast in Minecraft. But for this, you should have a ghast saddle and place that on the ghast. As a result, you can control the movement of the ghast.
Also, you can use the ghast controller by which you can control this ghast as well as the shooting of fireballs.