Just to check, there is no specific PS5 version, right? It's sold as a game for PS4 which runs on the PS5?
I also played Bloodborne on PS5 and was surprised by the occasional frame rate drops. And Elden Ring I played it on XBox One and it did run smoothly all the time, which is why I'm quite surprised by the poor optimization of DS3 for XBox One!