Hi Jimmy,
For your questions:
1>Can 0201 be replaced by 0402 package ?
A: Yes, you can change the package to 0402.
2>As 0402 package is larger than 0201, the space for capacities is not enough.
So, can the capacities be optimized to reduce the number?
A: Firstly do not recommend to change the capacities and reduce the number too much. Otherwise, it will caused the power can not work steady.
So for power section it's better to follow the reference design.
Have an nice day
Best Regards
Rita