Yes that's exactly what I propose but I do think they should be made to serve their sentences first. Simple deportation may seem like a reward if it's in place of serving their sentence. Unless there is a guarantee that they will serve the sentence in their country of origin. But it's very expensive to keep them in UK prisons and we don't have the space. (Except when it's needed immediately for the rushed through trials of working class white men who riot outside migrant hotels, and white middle class women who say stupid things in anger on social media, obviously. Then there is suddenly and miraculously space at the drop of a hat. But not for left wing politicians who call publicly for the thoats to be cut of those very sorts of people. Their trials are not expedited in urgency, in spite of being almost identical in tone and content but with one notable difference - the ethnicity and political leanings of the intended targets of the comments. This is the reality of the criminal justice system under this government.)
We should ship foreign nationals found guilty of ALL crime that warrants a prison sentence out to somewhere cheaper to serve their time, like the Rwanda scheme but for prisons, then deport from there them afterwards. And anyone who has been granted British citizenship in, let's say the previous 5 years, should have it revoked and they should be shipped out to prison as well.