Yes, you can use a ps4 camera on your ps5.
To do so, you’ll need to invest in a PlayStation camera adaptor, which will allow you to hook the ps4 camera up to the new system.
With the ps4 camera connected to the ps5, you’ll be able to play earlier titles and mess around with VR games, too.