Unlike dogs, cats never do anything just because you want them to, they don't get a kick out of human approval and they don't take shit from anyone. Your best bet is to use operant conditioning when they're kittens. Find out the food your kitten loves the best. Trimming your kitten's nails? Give them a treat afterwards so they associate the trimming with something positive. You can also roll them in a towel like a burrito so they get used to not moving and being passive during the trimming. Giving your kitten a bath? Let them play in shallow water and get comfortable first. Play with the kitten using toys so that they associate bath + water = fun. After that you can gently put some water on their body, put the soap, scrub them gently, etc. Every step needs to be patient. And afterwards, you give them a treat of course. Basically every "negative" thing your cat doesn't like needs to be associated with comfort + positive when they're kittens. Your success will be mediated by the cat's natural personality, but doing this will get you the "best" you can get out of your particular cat. You can teach your adult cat too to some extent, it'll never be as good as if you started with a kitten though.