A dirty flash is possible, but not recommended. I seriously advise you to perform a clean install so that you are not frustrated by MIUI10.
Since this is a fairly young version of the MIUI10, there are still several errors in the system.
The battery consumption is currently still quite high...