is it possibility to overload main function in C++

Yes, it is possible by declaring the main function as the member function in a class.
See the below example

See the results:

When we use the main function like below, let us predict the results

The above  program will give us the compilation errors like

You may get different errors on different compilers.