would it be safe to add a few ghost shrimp in a tank that i have a raphael catfish in?
Nope. The ghost shrimp would be a tasty snack.
even if they are over an inch long?
Yup. Raphael catfish tend to eat anything that can fit in their mouths.