Hello.
SInce most AIO don't have a HDMI input, this is usually not feasible.
The only way to connect your PS4 to your AIO, is to use a USB capture/stream device. These are usually quite expensive.
For example, this could work:
ebay[/quotemsg.
Can I use HDMI to USB 3.0 converter