Transfer Lines from T-Mobile at Costco and then add iPhone??

I'm going to be transferring a couple lines to AT&T and I saw that costco.com are waiving activation fee for each line I get with free accessories. After I get these lines transfered. Can I add a new line and get the iPhone for $199/$299? Sorry if this does not belong here.

Original thread: https://forums.imore.com/threads/transfer-lines-from-t-mobile-at-costco-and-then-add-iphone.173156/