Yes you can do that but it depends on which country you are planning to study. If its some European nation then tuition fees are less but you dont earn much either by doing part time jobs! If its USA, Canada or Australia then its really hard to do so. Because tuition fees are pretty high compared to EU nations & its really really hard to study & work at the same time. You have to be a robot to successfully complete your degree. However, if you manage to take one years tuition fees with you, then its manageable to cover the rest of the fees by working.
Hope it works. Thanks!