Skyrim PS4 edition cheat codes
Solution 1:
No, there are no cheat codes. On Windows, you can use the console, but that isn't possible for the PS4.
As fja3omega mentioned in a comment, your best bet is probably to use fast travel to move somewhere else. You could also try to run/jump sideways along the rocks and get to somewhere more convenient.
If you happen to know the Become Ethereal shout, just use that and then jump off the cliff. You'll survive the fall no matter how far it is.