I voluntarily relinquished my permanent residency in 2019, and I heard that it is required to file the 8854. I am wondering whether I can do that using Turbotax.
"Can I file a form 8854 using Turbotax?"
No, TurboTax does not support Form 8854.
See https://www.irs.gov/pub/irs-pdf/f8854.pdf