It is fine to give your cat treats (in limited quantities). Preferably, treats that are more naturally part of their diet, not pasta. If you do give cats treats, it is better to confine this to times when your cat needs to be rewarded to reinforce positive behavior.