Thanks for replays and ideas.
I found a couple good tutorials how to create a catapult in Box2d, but they are not suite for Defold. In those tutorials (here and here) we must use Revolt joint, and customize motor speed and so on. But as I found in the forum, Defold is not support them yet.