Yes there is no issue installing or playing both official game and FHX in one device. It's completely possible but please do not make the same account for both game always use a different account to play the coc private servers. The reason is that both of them have a completely different server. Therefore players can do that.