Is the rocket in flight is an example of projectile?

No, because it is propelled by combustion of fuel and does not move under the effect of gravity alone