First of all you need to have your phone rooted (check here: https://www.gizmochina.com/2019/08/01/how-to-install-twrp-recovery-and-root-xiaomi-redmi-note-7-pro-using-magisk/), it will void your warranty!
Then, you can flash the rom you want from xiaomi.eu that doesn't have the Anti-Rollback...