PlayStation 4 has a feature called Remote Play that allows controlling (and playing games) remotely. Officially this feature only works on Windows or macOS, but thanks to Chiaki, you can use your Linux (and others) desktop to play games remotely on your PlayStation 4.
Source: LXer – Remotely Play Your PlayStation 4 Games On Your Linux Desktop With Chiaki