Can I get my unlocked iphone flashed to virgin mobile?

I have an unlocked iphone 4 I'm using it with tmobile and my service really sucks so I wanted to flash it with Virgin mobile

You need a virgin mobile SIM card for service. And since iPhones use MicroSIM cards you will need a SIM cutter too. BUT I don't think you could get it on Virgin because T-Mobile has a different technology than Virgin does. T-Mobile runs on GSM while Virgin runs on CDMA network. So if your phone does not have a CDMA compatibility than you can't use the unlocked phone on Virgin.

Nope, you can't use unlocked iPhone on Virgin as they're totally incompatible. You can try StraightTalk / SimpleMobile though.