That would be ideal but if you have only 90 days tourist visa+ extension, you will be ok, i guess. I have long covid visa extensions and i used agent for border crossing.
I returned back as soon as my tourist visa approved. But if you have long COViD visa extensions, there maybe subject to ask by immigration officer sometimes.