It is not wajeb to go to madrassah or hawza, but it is wajeb to know the necessary knowledge of religion. This can be done by learning from a trusted expert, books or online lectures. If the only way to get this knowledge is by going to madrassah, then it becomes wajeb. Seeking wajeb knowledge does not require the permission of parents.