Heya! Honestly, I'm a bit confused by the question, but I'm going to do my best to provide all the info I can to help!
Games/apps are connected to your account. As long as a game is purchased on your account (regardless of where), you should be able to access it on your device that is logged in to your account. However, you will only be able to use one device on your account at a time. (Your friend and you could not play the same game on the same account on two different headsets at the same time.)
I hope that helped answer your question! Let me know if you have any more.