Matomo 4.14.2 on PHP 8.2.5

Does Matomo 4.14.2 run well on PHP 8.2.5 (Debian 12) or can I better stick with 7.4.21 (Debian 11) for the time being?

I am considering installing Matomo on a VPS that is running Debian 11 and want to know if it is a good idea to also upgrade that VPS to Debian 12 at the same time.