JahidSujon We have experience flashing Mi 5X that end up with dead phones. After long trial and error, finally found a way to revive. But this case maybe different than yours. Feel free to try, and pray for the rest.
In our case, phone comes from china. This phone should not have global firmware, but this one have. They manipulate the firmware, change aboot.img from MI Max2. So to revive, in this case, just replace aboot.img from Mi 5x firmware, with aboot.img from mi max 2.
GudLuck