The thing described is far from separation of church. It is straight out oppression.
Some (most?) forms of Islam are just not compatible with western style democracy and secularism. It’s unfortunate but I don’t really see any other realistic options of solving this besides “oppression”.
Some countries like Jordan kind of partially pulled it off but they had very specific conditions which can’t really be replicated elsewhere.