Yep! You can check out these tutorials from the same series:
You can get the general idea from these and implement to fit your 2D scenario.
But since you mentioned the movement will only be in one axis, you can do this instead of the patroling tuto. As the others under the topic this linked post of mine is a part of also mentioned, you can as well execute that after Event Tick.
Hope these help