Yes, front portrait mode works like a charm, saves two photos - one with blurred background, one without. Using Google Photos you can choose one of them and send it to someone etc.
As for MIUI, I really don't know. I think it should work, just keep in mind that gcam need cam2api. Download and...