Let's say that I'm hypothetically a ruler of a kingdom and my kingdom becomes Jewish along with me and the elites, etc. and some good chunk of the populace.
Am I then allowed to make my own laws (like completely my own laws, based on what I think is right) and/or implement ideologies/philosophies similar to say Confucianism at state-level as long as they don't interfere with the Halacha or would I have to see what the Halacha says and come up with the relevant law based on that? And would Talmudic laws and Halacha in general become also the base law of the country?