A:Answer Absolutely. I've connected directly to my PS4 with both the analog output from the controller (where you'd normally plug in headphones) and more recently with optical (the PS4 slim doesn't have optical, but the original model and the Pro do). Both work great, but I'd say optical is a bit better. It's clearer and the max volume is higher, plus a bit less of a hassle because you don't have the cable connected to the controller.
Great sound bar. For anything other than maybe a very large area, this works wonderfully.