Yes it can, an object can be moving a certain direction while the ACCELERATION is in the opposite direction.
Lets say your riding a bike... if your squeezing your handle bar breaks, the acceleration of the bike would be pushing in the opposite direction of the direction the bike is moving.
Hope this helped!