I want to ask is it okay to comapre your deen with other mazahib to get more calrifications about Islam?

Yes there is no problem as long as you are taking your information from a scholar. You don’t want to do something that may end up confusing or misleading you.