I remember being annoyed by those text buttons, looking at the latest iteration of Material, it looks like they keep the "text" button style but as a secondary option https://m3.material.io/components/all-buttons
Looking at the examples I think that it works in some contexts, but is a personal feel that I have.