You can always switch to a remote role. But living alone in a different city away from family does help you grow as a person and be independent without having to depend on your family for each and everything. But that's your call.
In case you are staying, make sure to invest in a good accommodation. A good room with a good bed. Try to not live alone. Renting a 2-3bhk with other flatmates is a good option.
Make sure you have school / college friends in this city or you are able to make new friends, otherwise it will become boring very soon.
Even if you can cook your own food or clean your place, still I would suggest hiring someone for cooking and cleaning. After a long hectic day, ordering food online or cooking your own food can be really depressing.