Can I get cheats on PS4?

On PS4 and PS5, you need to press and hold L1 + L2 + R1 + R2 to summon the cheat menu . When it appears, type in testingCheats true and cheats will then be enabled in this world.