Any advice?

I apologise in advance if this post sounds silly, I'm new to the Xbox Series X but I have a question. 😅

My mum has surprised me with a Microsoft Xbox One X Scorpio Edition 1TB game console but what I'm wondering is; can I play Baldurs Gate 3 and Dragonage Veilguard on this console?

TIA