no.you cannot do that. the console is always synced to the server so you cannot do anything to break that.
A = you
B = your friend
C = B's friend
You share with B, and both of you (A+B) can share the same game together
If B share with C, then B+C can share the same game together.
But C...
digital games license are tight to your profile infinitely.
and you cannot logged in at two different console at the same time.
so, when you set your home xbox back to the original console, he can still play your games because he might have your profile on his console.
Because each digital...
I have done an experiment regarding xbox one game sharing and i think there is a "hole" that can be usable for those who want to minimized the game pricing but with disadvantages.
So, i found that if a person bought one game, he can share it to 2 other console .
Let me make this simple...