Thank you for your query.
The described scenario could be implemented with a coded solution within a Test Studio test. Though this would not be a straight forward scenario and since it is a custom implementation we could not provide many directions. But you could refer to the post here
for further advice.
Thank you in advance for your understanding!