Can I stay longer in Mongolia through a visa run?

Through Russia or China if it's possible? I want to do a marathon somewhere in the countryside and ride a motorcycle to have coffee in UB. 6 months would be enough, I will work after that unless if I find a job there.

As long as you can arrange for a visa to China or Russia.