Of course it is! But Islamic law? Are you SURE you want this? Do YOU live in Canada and are YOU willing to live under those laws?
Say you and I sign a contract where we both agree that a local alderman will serve as arbiter in case of a dispute. Do you think that make every US citizen suddenly have to follow rulings issued by that person?