Can this be done more simpler or not

Part of learning to program is using functions, do a search on c/c++ functions and try and learn the basics.

You are using an Adafruit library, #include <Adafruit_SSD1306.h> , which contains functions to help you draw so that you don't have to create the functions yourself which makes using your display much easier.

An example of a library function is display.clearDisplay() which is the third one listed in the link I provided. So you are already using the library functions you just don't know what they all are or what some of them mean.

You have the following code

 for (int i = 0; i <= 127; i++) {
    display.clearDisplay();
    display.drawBitmap(i, 0, NaN, 64, 64, 1);
    display.display();
  }

which you can probably replace with one line which should be much faster and smoother.

display.startscrollright(0,127);

I am not familiar with your particular display so you might have to experiment a little, there is also a scroll left and a scroll diagonal.