Can I buy an iPhone through T-mobile and use a prepaid T-mobile plan?

So I was looking at the prepaid section of tmobiles site http://prepaid-phones.t-mobile.com/prepaid-plans and I saw a plan for 30$ a month 5gb data, 100 mins talk and unlimited text. This sounded like a really good deal, but when I went click "Shop phones" underneath "Get started", there were no iPhones listed. But when I click "bring your own device" it says I can use iPhones

I don't have an iPhone yet, so I couldn't use the bring your own thing. So is it possible to do the t-mobile thing where you get the phone, but make like a monthly payment to pay off the phone, but still get the 30$ a month plan I was looking at?

Yes you can.

Yes, but you have to pay outright for the phone. It's around $550 for the 5C, then the $30/month

The $30 is only for prepaid.

The $30 plan is prepaid. You can only get the iphone with monthly payment basis through postpaid.

Your only option is to buy the iphone in full and use with their prepaid plan.