Yes you can can whatever Roms out there. But with AT&T Rom you will lose Wi-Fi calling feature. Like an0ther said it's better if you just flash international Roms. You can have the features of both AT&T and T-Mobile offer.
Sent from my Nexus 5 using Tapatalk