Add background shadow for text

Is there a way to add a background shadow to text in a plot, similar to the shadowtext library in R?