Can I buy my bus ticket few months before the departure?

Yes. As a rule, online bus tickets are available several months in advance.