That works but… I rather keep that as absolute last resort possibility. It’s not something the cat enjoys for sure and I rather have my furmily members as happy as possible at all times. They’re a bit like kids in that regard: sweeten things up for them and suddenly they’re not (as) horrible anymore. And fighting against a child/cat that absolutely doesn’t want to is not a battle you win easily.
I once had a cat that trusted me enough to just eat the pill as is straight out of my hand but he was an absolute exception in every way possible. Ofc he too got treats after taking his meds.