You can study for free in Dubai with certain scholarships, but for Dubai visa, you need to apply for it either online or offline. You cannot avail a free Dubai visa for your studies in the city of Dubai.