Hi, thanks for posting your question to the community! My name is David an independent advisor and I am here to help you.
Answering your question, Yes it is possible that you can download the games you had previously purchased. What you need to do is log into the store with the same account that you used to purchase them, for example, on Steam, Origin, Epic, Microsoft store, or other stores. This will allow you to access the library of games that you have purchased and download them.
Let me know if the shared information has been useful or if you still need more help, I will be waiting for your answer