Nothing is wrong with that except for the fact that Pakistan does not have oil. UAE is for all purposes an oil state. Any state that is rich enough can impose their philosophy on the people, be it Islam, Authoritarianism etc.
Pakistan does not have the "something" that will permanently make the people dependent on the state, so it will be much more difficult to make people obey an extreme philosophy.
UAE can survive because 95% of the workforce is imported from South Asia (I am not making this up).
Human rights in the United Arab Emirates - Wikipedia, the free encyclopedia
Similarly, China can again convince people to be atheist, but that again is because all land is owned by the government. If you really need a central version of Islam imposed on the country, maybe Pakistan can try that -- first take-over all land and then redistribute it in collectives under strict Islamic principles.
Note: I am not saying that Pakistan will not remain an Islamic majority country. What I am saying is that there won't be a single unified version of Islam unless there is a real need for it felt by the people.