Maybe i'mI'm wrong but iI believe that Naboo (from starwarsStar Wars) has a system that might fit what you want to do) - as in, you could take inspiration from it and so on...
A more direct answer to your question,: yes it's perfectly possible you. You could even separate the state powers and divide them between the monarchy and the political side where 1 has power over its attributes and can't interfere with the other in which case i'dI'd suggest givegiving the military to the monarchy, as in they, their role in society is to defend the people (like in ancient times mostly).