Using Porkbun Email Hosting for Google Accounts

I recently purchased a domain from Porkbun, and I’m considering using their email hosting service since it’s cheaper than Google Workspace. My goal is to create custom emails like testemail@mydomain.com and use them to set up Google accounts. The main purpose is to access Gmail, Google Docs, and Sheets. I don’t need much storage; the 15GB that comes with each Google account is more than enough for my needs. Is this setup possible, and are there any potential issues I should be aware of?