Hi I believe you can as the appstore account is tie to your apple ID. Just make sure you sign out and reset your iphone.
One you get a new apple device you can sign in back to you apple id.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: