Yes, PlayStation Camera will work with PS5 for playing supported PS VR games. However, the Camera will require an adaptor, as the PS5 does not include an AUX port like the PS4.
Sony has revealed that the PlayStation Camera adaptor that will be provided at no additional cost to PS VR users. More details on how to get the adaptor will be announced at a later date.