Sam,
Your answer is yes.... often times expansion joints are shown in P&IDs by people who really have no idea whether they are needed or not.
Centrifugal pumps do not vibrate much if at all really but I heard justifications based on vibration which is usually nonsense...
_________________________
Best Regards,
John C. Luf