When a body is thrown vertically upward in space, then at the highest point, the body has zero velocity but the acceleration of the body will be equal to the acceleration due to gravity.
A body moving horizontally with acceleration in the vertical direction is possible in a projectile motion.
in projection, the body follows the parabolic path with acceleration acting vertically downwards(gravity) at the time of descent.
For e.g. in a circular motion, if one is moving with a constant speed, the motion is still said to be accelerated motion as the direction of velocity changes at every point of the path.