It is no problem to secretly "play" the national flag where others can't see it. If it is discovered by others or insulted in public, it will violate the laws of China.
Your brother's behavior only shows that it is not illegal for him to be patriotic or have special hobbies.